Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001048/0.001048, allocations: 111.2 kB / 16.41 MB, free: 6.5 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.001073/0.001073, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7835/0.7835, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 75.09 kB / 0.5726 GB, free: 27.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1547, allocations: 78.69 MB / 0.6494 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.477/0.6317, allocations: 132.2 MB / 0.7786 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02792/0.6596, allocations: 23.23 MB / 0.8012 GB, free: 24.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004879/0.6646, allocations: 125.6 kB / 0.8014 GB, free: 24.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003775/0.6684, allocations: 1.533 MB / 0.8029 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.6804, allocations: 4.312 MB / 0.8071 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005852/0.6862, allocations: 2.177 MB / 0.8092 GB, free: 19.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01011/0.6963, allocations: 6.553 MB / 0.8156 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003254/0.6996, allocations: 2.37 MB / 0.8179 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006556/0.7062, allocations: 2.809 MB / 0.8207 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/0.7098, allocations: 1.894 MB / 0.8225 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009198/0.7108, allocations: 252.4 kB / 0.8227 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005738/0.7165, allocations: 1.936 MB / 0.8246 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009154/0.7174, allocations: 0.5981 MB / 0.8252 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002772/0.7202, allocations: 1.465 MB / 0.8266 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007894/0.7281, allocations: 4.375 MB / 0.8309 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7282, allocations: 0 / 0.8309 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7282, allocations: 4 kB / 0.8309 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001651/0.7283, allocations: 0 / 0.8309 GB, free: 4.848 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.007495/0.7358, allocations: 3.271 MB / 0.8341 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.7359, allocations: 12.03 kB / 0.8341 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004386/0.7363, allocations: 215.8 kB / 0.8343 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004206/0.7405, allocations: 0.8528 MB / 0.8352 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005257/0.7458, allocations: 2.337 MB / 0.8374 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.746, allocations: 131 kB / 0.8376 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003364/0.7463, allocations: 156 kB / 0.8377 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004405/0.7507, allocations: 1.93 MB / 0.8396 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.7508, allocations: 3.938 kB / 0.8396 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.7509, allocations: 64 kB / 0.8397 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.751, allocations: 39.94 kB / 0.8397 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004618/0.7556, allocations: 1.799 MB / 0.8415 GB, free: 9.816 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.01321/0.7688, allocations: 9.016 MB / 0.8503 GB, free: 216 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/0.7732, allocations: 1.2 MB / 0.8514 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.7744, allocations: 467 kB / 0.8519 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.7756, allocations: 1.726 MB / 0.8536 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.7757, allocations: 42.55 kB / 0.8536 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/0.7757, allocations: 4 kB / 0.8536 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009025/0.7847, allocations: 2.357 MB / 0.8559 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.7849, allocations: 92.86 kB / 0.856 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005132/0.79, allocations: 2.52 MB / 0.8585 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000266/0.7903, allocations: 41.7 kB / 0.8585 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009214/0.7912, allocations: 1.058 MB / 0.8595 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.7916, allocations: 285.5 kB / 0.8598 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/0.792, allocations: 254.8 kB / 0.8601 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7921, allocations: 345.9 kB / 0.8604 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.7939, allocations: 0.5725 MB / 0.8609 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.7959, allocations: 0.9504 MB / 0.8619 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/0.7989, allocations: 1.252 MB / 0.8631 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.7989, allocations: 0 / 0.8631 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006896/0.8058, allocations: 2.033 MB / 0.8651 GB, free: 240 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.8059, allocations: 10.03 kB / 0.8651 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.8059, allocations: 8 kB / 0.8651 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/0.8078, allocations: 497.7 kB / 0.8656 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.809, allocations: 279.5 kB / 0.8658 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.8113, allocations: 1.522 MB / 0.8673 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/0.8142, allocations: 374.4 kB / 0.8677 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.8144, allocations: 59.97 kB / 0.8677 GB, free: 13.45 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008642/0.8152, allocations: 465.5 kB / 0.8682 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005674/0.8158, allocations: 262.3 kB / 0.8684 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/0.8195, allocations: 1.487 MB / 0.8699 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.8196, allocations: 11.98 kB / 0.8699 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8196, allocations: 3.938 kB / 0.8699 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.8196, allocations: 7.984 kB / 0.8699 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007689/0.8273, allocations: 3.633 MB / 0.8735 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.8273, allocations: 4 kB / 0.8735 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.8279, allocations: 128.2 kB / 0.8736 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.8297, allocations: 497 kB / 0.8741 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/0.8298, allocations: 27.97 kB / 0.8741 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002647/0.8325, allocations: 1.579 MB / 0.8756 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.8325, allocations: 4 kB / 0.8756 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006284/0.8388, allocations: 1.948 MB / 0.8775 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/0.8405, allocations: 0.4989 MB / 0.878 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008631/0.8414, allocations: 15.95 kB / 0.878 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003173/0.8446, allocations: 139.8 kB / 0.8782 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.8448, allocations: 59.81 kB / 0.8782 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/0.845, allocations: 47.95 kB / 0.8783 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005365/0.8504, allocations: 1.766 MB / 0.88 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.61e-07/0.8504, allocations: 0 / 0.88 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0039/0.8543, allocations: 0.7019 MB / 0.8807 GB, free: 15.93 MB / 0.6387 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01249/0.8668, allocations: 3.016 MB / 0.8836 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007134/0.874, allocations: 1.349 MB / 0.8849 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.8741, allocations: 0 / 0.8849 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003784/0.8779, allocations: 0.6702 MB / 0.8856 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0082/0.8861, allocations: 1.318 MB / 0.8869 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04013/0.9263, allocations: 16.74 MB / 0.9032 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/0.928, allocations: 1.497 MB / 0.9047 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002085/0.9301, allocations: 432.3 kB / 0.9051 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/0.9315, allocations: 0.9054 MB / 0.906 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/0.9316, allocations: 0 / 0.906 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/1.042, allocations: 66.21 MB / 0.9707 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.64, allocations: 10 kB / 0.9707 GB, free: 3.926 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)