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.000849/0.000849, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004903/0.004903, allocations: 169.5 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7948/0.7948, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002697, allocations: 8.5 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 82.32 MB / 0.5881 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3016/0.429, allocations: 129.3 MB / 0.7143 GB, free: 15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02617/0.4552, allocations: 23.03 MB / 0.7368 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/0.4586, allocations: 109.2 kB / 0.7369 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002928/0.4616, allocations: 1.206 MB / 0.7381 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008527/0.4701, allocations: 3.771 MB / 0.7418 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.4743, allocations: 1.962 MB / 0.7437 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007558/0.4819, allocations: 8.273 MB / 0.7518 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.4844, allocations: 1.92 MB / 0.7537 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00395/0.4884, allocations: 2.302 MB / 0.7559 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.4908, allocations: 1.784 MB / 0.7577 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002745/0.4911, allocations: 92 kB / 0.7577 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.4942, allocations: 1.711 MB / 0.7594 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.4946, allocations: 449.7 kB / 0.7598 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.4958, allocations: 1.284 MB / 0.7611 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003795/0.4996, allocations: 4.147 MB / 0.7651 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4996, allocations: 0 / 0.7651 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4996, allocations: 0 / 0.7651 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.4996, allocations: 0 / 0.7651 GB, free: 6.75 MB / 0.5762 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.004086/0.5037, allocations: 2.682 MB / 0.7678 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5038, allocations: 8.031 kB / 0.7678 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/0.504, allocations: 223.8 kB / 0.768 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004049/0.508, allocations: 0.9567 MB / 0.7689 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.5116, allocations: 2.291 MB / 0.7712 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009246/0.5126, allocations: 330.8 kB / 0.7715 GB, free: 104 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.5128, allocations: 156.1 kB / 0.7716 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/0.5164, allocations: 1.985 MB / 0.7736 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.5165, allocations: 0 / 0.7736 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.5166, allocations: 63.94 kB / 0.7736 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.5166, allocations: 40 kB / 0.7737 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004488/0.5211, allocations: 1.901 MB / 0.7755 GB, free: 11.89 MB / 0.5919 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.01041/0.5315, allocations: 9.086 MB / 0.7844 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.5357, allocations: 1.294 MB / 0.7857 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.5368, allocations: 493.3 kB / 0.7861 GB, free: 424 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.5379, allocations: 1.722 MB / 0.7878 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.5379, allocations: 46.25 kB / 0.7878 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 1.904e-06/0.5379, allocations: 0 / 0.7878 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008055/0.546, allocations: 2.496 MB / 0.7903 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.546, allocations: 89.05 kB / 0.7904 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003381/0.5494, allocations: 2.516 MB / 0.7928 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.622e-05/0.5495, allocations: 45.7 kB / 0.7929 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008111/0.5503, allocations: 1.045 MB / 0.7939 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.5505, allocations: 272.2 kB / 0.7941 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.5507, allocations: 85.67 kB / 0.7942 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5508, allocations: 353.9 kB / 0.7946 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.5526, allocations: 0.6232 MB / 0.7952 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.5546, allocations: 1.009 MB / 0.7962 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002918/0.5575, allocations: 1.331 MB / 0.7975 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5575, allocations: 0 / 0.7975 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006094/0.5636, allocations: 2.189 MB / 0.7996 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.5637, allocations: 12 kB / 0.7996 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5637, allocations: 8 kB / 0.7996 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.5651, allocations: 437.3 kB / 0.8 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.5663, allocations: 311.5 kB / 0.8003 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.5684, allocations: 1.545 MB / 0.8018 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.571, allocations: 474 kB / 0.8023 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.5711, allocations: 68.05 kB / 0.8024 GB, free: 14.94 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006744/0.5718, allocations: 466.8 kB / 0.8028 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.5721, allocations: 248.9 kB / 0.803 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/0.5756, allocations: 1.536 MB / 0.8045 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.5756, allocations: 15.98 kB / 0.8046 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.5756, allocations: 0 / 0.8046 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.5756, allocations: 3.984 kB / 0.8046 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006912/0.5826, allocations: 3.709 MB / 0.8082 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/0.5826, allocations: 4 kB / 0.8082 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.5832, allocations: 136.2 kB / 0.8083 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.5846, allocations: 445.2 kB / 0.8087 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.5847, allocations: 23.98 kB / 0.8088 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/0.5873, allocations: 1.624 MB / 0.8103 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5873, allocations: 7.938 kB / 0.8104 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005904/0.5932, allocations: 2.08 MB / 0.8124 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007739/0.594, allocations: 0.5015 MB / 0.8129 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.5942, allocations: 19.98 kB / 0.8129 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/0.596, allocations: 195.7 kB / 0.8131 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.5961, allocations: 59.8 kB / 0.8131 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.15e-05/0.5962, allocations: 43.97 kB / 0.8132 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002775/0.599, allocations: 1.769 MB / 0.8149 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.599, allocations: 0 / 0.8149 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001682/0.6007, allocations: 0.6827 MB / 0.8156 GB, free: 1.117 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007197/0.6079, allocations: 3.136 MB / 0.8186 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004119/0.612, allocations: 1.428 MB / 0.82 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.612, allocations: 7.938 kB / 0.82 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/0.6144, allocations: 0.7269 MB / 0.8208 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006722/0.6211, allocations: 1.316 MB / 0.822 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03983/0.661, allocations: 20.06 MB / 0.8416 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000969/0.662, allocations: 1.49 MB / 0.8431 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00178/0.6637, allocations: 440.5 kB / 0.8435 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.6649, allocations: 0.9054 MB / 0.8444 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.6649, allocations: 0 / 0.8444 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.359/5.024, allocations: 68.86 MB / 0.9116 GB, free: 201.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/5.024, allocations: 265.1 kB / 0.9119 GB, free: 200.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.1/9.125, allocations: 5.5 kB / 0.9119 GB, free: 200.9 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/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)