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.0009595/0.0009594, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007746/0.0007746, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.284/1.284, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6435/0.6435, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 12.5 kB / 495.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1299, allocations: 77.54 MB / 0.56 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3848/0.5147, allocations: 129.3 MB / 0.6863 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02942/0.5442, allocations: 23.06 MB / 0.7089 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00433/0.5486, allocations: 103.3 kB / 0.709 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003788/0.5524, allocations: 1.208 MB / 0.7101 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.5629, allocations: 3.773 MB / 0.7138 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005205/0.5682, allocations: 1.965 MB / 0.7158 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009865/0.578, allocations: 8.292 MB / 0.7238 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003295/0.5814, allocations: 1.915 MB / 0.7257 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004759/0.5861, allocations: 2.305 MB / 0.728 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.5892, allocations: 1.788 MB / 0.7297 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005019/0.5897, allocations: 92 kB / 0.7298 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004895/0.5946, allocations: 1.707 MB / 0.7315 GB, free: 6.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008682/0.5955, allocations: 441.7 kB / 0.7319 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00243/0.5979, allocations: 1.299 MB / 0.7332 GB, free: 4.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006183/0.6041, allocations: 4.143 MB / 0.7372 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6041, allocations: 0 / 0.7372 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6042, allocations: 0 / 0.7372 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001001/0.6043, allocations: 0 / 0.7372 GB, free: 0.8398 MB / 0.545 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.00533/0.6096, allocations: 2.678 MB / 0.7398 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.6097, allocations: 12.03 kB / 0.7398 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004122/0.6101, allocations: 220 kB / 0.74 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/0.6146, allocations: 0.9613 MB / 0.741 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004302/0.6189, allocations: 2.266 MB / 0.7432 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/0.6199, allocations: 330.8 kB / 0.7435 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.6203, allocations: 163.9 kB / 0.7437 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004468/0.6247, allocations: 1.977 MB / 0.7456 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.6248, allocations: 8 kB / 0.7456 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.625, allocations: 60 kB / 0.7457 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.625, allocations: 40 kB / 0.7457 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/0.6301, allocations: 1.917 MB / 0.7476 GB, free: 5.988 MB / 0.5606 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.01262/0.6427, allocations: 9.098 MB / 0.7565 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/0.6472, allocations: 1.308 MB / 0.7577 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.6484, allocations: 485.3 kB / 0.7582 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.6494, allocations: 1.722 MB / 0.7599 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.6495, allocations: 42.56 kB / 0.7599 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.465e-06/0.6495, allocations: 3.938 kB / 0.7599 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.009029/0.6585, allocations: 2.519 MB / 0.7624 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.6586, allocations: 93.05 kB / 0.7625 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/0.6629, allocations: 2.54 MB / 0.765 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.6631, allocations: 41.7 kB / 0.765 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008723/0.6639, allocations: 1.042 MB / 0.766 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.6642, allocations: 276.1 kB / 0.7663 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.6644, allocations: 93.66 kB / 0.7664 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6645, allocations: 345.9 kB / 0.7667 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.6664, allocations: 0.6311 MB / 0.7673 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.6685, allocations: 1.007 MB / 0.7683 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.6715, allocations: 1.327 MB / 0.7696 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.6716, allocations: 8 kB / 0.7696 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006647/0.6782, allocations: 2.189 MB / 0.7717 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.6783, allocations: 8.062 kB / 0.7717 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.6783, allocations: 12 kB / 0.7718 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.6801, allocations: 0.5055 MB / 0.7722 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.6814, allocations: 307.5 kB / 0.7725 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.6836, allocations: 1.563 MB / 0.7741 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/0.6867, allocations: 477.9 kB / 0.7745 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.6868, allocations: 59.97 kB / 0.7746 GB, free: 8.867 MB / 0.5919 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.0009044/0.6877, allocations: 461.5 kB / 0.775 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005236/0.6883, allocations: 256.9 kB / 0.7753 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.692, allocations: 1.56 MB / 0.7768 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.692, allocations: 8 kB / 0.7768 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6921, allocations: 0 / 0.7768 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6921, allocations: 3.984 kB / 0.7768 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007845/0.6999, allocations: 3.705 MB / 0.7804 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.7, allocations: 4 kB / 0.7804 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.7006, allocations: 140.1 kB / 0.7806 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.7023, allocations: 0.501 MB / 0.781 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/0.7024, allocations: 23.98 kB / 0.7811 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.7051, allocations: 1.653 MB / 0.7827 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.7051, allocations: 7.938 kB / 0.7827 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006219/0.7113, allocations: 2.076 MB / 0.7847 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.7124, allocations: 0.5169 MB / 0.7852 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005418/0.713, allocations: 24 kB / 0.7852 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/0.7151, allocations: 191.7 kB / 0.7854 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.7152, allocations: 63.8 kB / 0.7855 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-05/0.7153, allocations: 39.97 kB / 0.7855 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003379/0.7187, allocations: 1.797 MB / 0.7873 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7187, allocations: 0 / 0.7873 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002566/0.7213, allocations: 0.6788 MB / 0.7879 GB, free: 10.91 MB / 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 (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.007698/0.729, allocations: 3.13 MB / 0.791 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004204/0.7332, allocations: 1.432 MB / 0.7924 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7332, allocations: 0 / 0.7924 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/0.7357, allocations: 0.7404 MB / 0.7931 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007644/0.7433, allocations: 1.307 MB / 0.7944 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04578/0.7891, allocations: 20.22 MB / 0.8141 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.7903, allocations: 1.494 MB / 0.8156 GB, free: 13 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002097/0.7924, allocations: 440 kB / 0.816 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/0.7937, allocations: 0.9171 MB / 0.8169 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of SimCode: time 7.32e-07/0.7938, allocations: 0 / 0.8169 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8733/1.667, allocations: 69.16 MB / 0.8844 GB, free: 192.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/1.667, allocations: 285.6 kB / 0.8847 GB, free: 191.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.451/5.118, allocations: 0 / 0.8847 GB, free: 191.7 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)