Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.0009288, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.3 MB / 240 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9965/0.9965, allocations: 135.3 MB / 426.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 8.219 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1909, allocations: 82.31 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5021/0.6931, allocations: 122.1 MB / 0.7067 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03667/0.7298, allocations: 21.76 MB / 0.728 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005959/0.7358, allocations: 108.6 kB / 0.7281 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004592/0.7404, allocations: 0.9958 MB / 0.7291 GB, free: 5.375 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01375/0.7542, allocations: 3.168 MB / 0.7321 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00709/0.7613, allocations: 1.508 MB / 0.7336 GB, free: 1.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.014/0.7753, allocations: 7.194 MB / 0.7406 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003527/0.7789, allocations: 1.675 MB / 0.7423 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005824/0.7848, allocations: 2.156 MB / 0.7444 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003969/0.7888, allocations: 1.682 MB / 0.746 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007368/0.7895, allocations: 92 kB / 0.7461 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/0.7946, allocations: 1.212 MB / 0.7473 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009051/0.7956, allocations: 421.9 kB / 0.7477 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00153/0.7971, allocations: 0.555 MB / 0.7482 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005034/0.8021, allocations: 3.133 MB / 0.7513 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8022, allocations: 4 kB / 0.7513 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8022, allocations: 0 / 0.7513 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.721e-05/0.8022, allocations: 0 / 0.7513 GB, free: 4.777 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005383/0.8076, allocations: 2.701 MB / 0.7539 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.8077, allocations: 13.09 kB / 0.754 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003998/0.8081, allocations: 223.7 kB / 0.7542 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004124/0.8122, allocations: 0.9528 MB / 0.7551 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004908/0.8171, allocations: 2.2 MB / 0.7572 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009004/0.8181, allocations: 318.9 kB / 0.7576 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/0.8183, allocations: 163.9 kB / 0.7577 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004164/0.8225, allocations: 1.977 MB / 0.7596 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.8226, allocations: 7.938 kB / 0.7596 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.8227, allocations: 64 kB / 0.7597 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/0.8228, allocations: 43.98 kB / 0.7598 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004584/0.8274, allocations: 1.882 MB / 0.7616 GB, free: 10.01 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/0.8421, allocations: 9.082 MB / 0.7705 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004098/0.8462, allocations: 1.288 MB / 0.7717 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.8474, allocations: 478 kB / 0.7722 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/0.8487, allocations: 1.73 MB / 0.7739 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.8488, allocations: 46.3 kB / 0.7739 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 5.019e-06/0.8488, allocations: 0 / 0.7739 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008313/0.8571, allocations: 2.49 MB / 0.7763 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.8572, allocations: 85.11 kB / 0.7764 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004585/0.8618, allocations: 2.496 MB / 0.7789 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002442/0.8621, allocations: 41.7 kB / 0.7789 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009787/0.8631, allocations: 1.045 MB / 0.7799 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.8634, allocations: 276.1 kB / 0.7802 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.8635, allocations: 20 kB / 0.7802 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.8637, allocations: 341.9 kB / 0.7805 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.8653, allocations: 0.6349 MB / 0.7811 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.8673, allocations: 1.001 MB / 0.7821 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.869, allocations: 0.6857 MB / 0.7828 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.869, allocations: 4 kB / 0.7828 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00518/0.8742, allocations: 1.955 MB / 0.7847 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.8743, allocations: 8 kB / 0.7847 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.8743, allocations: 8 kB / 0.7847 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.8759, allocations: 453 kB / 0.7852 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.8772, allocations: 303.6 kB / 0.7854 GB, free: 292 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.8794, allocations: 1.546 MB / 0.787 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/0.8828, allocations: 477.9 kB / 0.7874 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/0.8831, allocations: 59.95 kB / 0.7875 GB, free: 14.16 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001271/0.8844, allocations: 461.5 kB / 0.7879 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006754/0.8851, allocations: 248.9 kB / 0.7881 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.8888, allocations: 1.54 MB / 0.7896 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/0.8889, allocations: 16 kB / 0.7897 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.8889, allocations: 11.92 kB / 0.7897 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.8889, allocations: 3.984 kB / 0.7897 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008456/0.8974, allocations: 3.686 MB / 0.7933 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.8975, allocations: 7.984 kB / 0.7933 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.8981, allocations: 140.2 kB / 0.7934 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.8998, allocations: 437.1 kB / 0.7938 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.8999, allocations: 31.97 kB / 0.7939 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.9026, allocations: 1.628 MB / 0.7955 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.9026, allocations: 4 kB / 0.7955 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006289/0.9089, allocations: 2.064 MB / 0.7975 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/0.9104, allocations: 0.5092 MB / 0.798 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003757/0.9108, allocations: 23.98 kB / 0.798 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.9125, allocations: 187.8 kB / 0.7982 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.9126, allocations: 59.81 kB / 0.7982 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-05/0.9127, allocations: 43.97 kB / 0.7983 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003071/0.9158, allocations: 1.746 MB / 0.8 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9158, allocations: 0 / 0.8 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002238/0.9181, allocations: 0.6788 MB / 0.8006 GB, free: 392 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006908/0.925, allocations: 3.087 MB / 0.8037 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004091/0.9291, allocations: 1.429 MB / 0.805 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.9291, allocations: 0 / 0.805 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.9313, allocations: 0.7152 MB / 0.8057 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006361/0.9377, allocations: 1.269 MB / 0.807 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0344/0.9721, allocations: 14.99 MB / 0.8216 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.9735, allocations: 1.486 MB / 0.8231 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002752/0.9763, allocations: 428.6 kB / 0.8235 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.9777, allocations: 0.9015 MB / 0.8244 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of SimCode: time 1.122e-06/0.9777, allocations: 0 / 0.8244 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4482/1.426, allocations: 68.35 MB / 0.8911 GB, free: 196.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/1.426, allocations: 251.7 kB / 0.8914 GB, free: 195.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.635/5.061, allocations: 0 / 0.8914 GB, free: 195.8 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) Environment - environmentSimulation: