Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.0008442/0.0008492, allocations: 95.88 kB / 15.68 MB, free: 488 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.0009015/0.0009015, allocations: 175.7 kB / 16.57 MB, free: 6.52 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.252/1.252, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6426/0.6426, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 8 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.147, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3582/0.5053, allocations: 59.1 MB / 0.6144 GB, free: 2.961 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02406/0.5295, allocations: 15.07 MB / 0.6291 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.5325, allocations: 56.19 kB / 0.6292 GB, free: 8.258 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002748/0.5353, allocations: 0.7018 MB / 0.6299 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008659/0.544, allocations: 2.306 MB / 0.6321 GB, free: 6.359 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005338/0.5493, allocations: 1.549 MB / 0.6336 GB, free: 5.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005369/0.5547, allocations: 2.286 MB / 0.6359 GB, free: 3.793 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.5566, allocations: 1.027 MB / 0.6369 GB, free: 3.164 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.5599, allocations: 1.266 MB / 0.6381 GB, free: 2.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.5614, allocations: 0.7818 MB / 0.6389 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.5616, allocations: 56.97 kB / 0.6389 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.5642, allocations: 0.9826 MB / 0.6399 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.5644, allocations: 237.8 kB / 0.6401 GB, free: 1.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.5649, allocations: 372.9 kB / 0.6405 GB, free: 1.043 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.5673, allocations: 2.275 MB / 0.6427 GB, free: 15.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5673, allocations: 1.188 kB / 0.6427 GB, free: 15.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5673, allocations: 0 / 0.6427 GB, free: 15.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.5673, allocations: 0 / 0.6427 GB, free: 15.43 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002958/0.5703, allocations: 1.722 MB / 0.6444 GB, free: 14.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.5704, allocations: 10.25 kB / 0.6444 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/0.5706, allocations: 157.5 kB / 0.6445 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.5727, allocations: 0.5019 MB / 0.645 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002271/0.575, allocations: 1.428 MB / 0.6464 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.5753, allocations: 144.9 kB / 0.6466 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.5755, allocations: 104.4 kB / 0.6467 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.5778, allocations: 1.308 MB / 0.6479 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.5778, allocations: 3.25 kB / 0.6479 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/0.5779, allocations: 41.19 kB / 0.648 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5779, allocations: 24.47 kB / 0.648 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.5803, allocations: 1.157 MB / 0.6491 GB, free: 11.03 MB / 478.1 MB 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.007923/0.5882, allocations: 7.218 MB / 0.6562 GB, free: 3.418 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/0.5912, allocations: 0.9088 MB / 0.6571 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.5924, allocations: 1.718 MB / 0.6588 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5925, allocations: 39 kB / 0.6588 GB, free: 360 kB / 478.1 MB Notification: Performance of pre-optimization done (n=48): time 3.557e-06/0.5925, allocations: 3.938 kB / 0.6588 GB, free: 356 kB / 478.1 MB Notification: Performance of matching and sorting (n=48): time 0.00451/0.597, allocations: 1.444 MB / 0.6602 GB, free: 14.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.5971, allocations: 55.84 kB / 0.6603 GB, free: 14.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.5991, allocations: 1.541 MB / 0.6618 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.5992, allocations: 37.7 kB / 0.6618 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/0.5997, allocations: 0.6652 MB / 0.6624 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.5998, allocations: 169.6 kB / 0.6626 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.5999, allocations: 16 kB / 0.6626 GB, free: 12.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6, allocations: 334 kB / 0.6629 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008961/0.6009, allocations: 385.8 kB / 0.6633 GB, free: 11.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.6019, allocations: 0.6549 MB / 0.664 GB, free: 10.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009407/0.6029, allocations: 437.9 kB / 0.6644 GB, free: 10.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6029, allocations: 8 kB / 0.6644 GB, free: 10.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002566/0.6055, allocations: 1.217 MB / 0.6656 GB, free: 9.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.6055, allocations: 11.95 kB / 0.6656 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6055, allocations: 8 kB / 0.6656 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000784/0.6063, allocations: 228.8 kB / 0.6658 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/0.607, allocations: 195.7 kB / 0.666 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007591/0.6078, allocations: 0.7279 MB / 0.6667 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.6093, allocations: 266.2 kB / 0.667 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/0.6094, allocations: 43.98 kB / 0.667 GB, free: 7.734 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005091/0.6099, allocations: 353.6 kB / 0.6673 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.6101, allocations: 146.2 kB / 0.6675 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.6123, allocations: 1.183 MB / 0.6686 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.6123, allocations: 11.98 kB / 0.6686 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6123, allocations: 0 / 0.6686 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6123, allocations: 96 / 0.6686 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/0.6169, allocations: 2.608 MB / 0.6712 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.6169, allocations: 4 kB / 0.6712 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.6172, allocations: 88.08 kB / 0.6713 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006653/0.6179, allocations: 220.6 kB / 0.6715 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.618, allocations: 19.98 kB / 0.6715 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.6191, allocations: 0.8059 MB / 0.6723 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6192, allocations: 3.938 kB / 0.6723 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.6222, allocations: 1.381 MB / 0.6736 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005131/0.6227, allocations: 370.9 kB / 0.674 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.6229, allocations: 15.98 kB / 0.674 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/0.6238, allocations: 107.8 kB / 0.6741 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.6239, allocations: 52.5 kB / 0.6742 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.6239, allocations: 23.98 kB / 0.6742 GB, free: 136 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001523/0.6255, allocations: 1.082 MB / 0.6752 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6255, allocations: 0 / 0.6752 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001152/0.6266, allocations: 439.4 kB / 0.6757 GB, free: 14.62 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.004035/0.6307, allocations: 2.67 MB / 0.6783 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001893/0.6326, allocations: 0.8604 MB / 0.6791 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6326, allocations: 8.156 kB / 0.6791 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.6338, allocations: 475.1 kB / 0.6796 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.6364, allocations: 0.6974 MB / 0.6803 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005641/0.642, allocations: 8.48 MB / 0.6885 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.6427, allocations: 1.199 MB / 0.6897 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009051/0.6436, allocations: 263.9 kB / 0.69 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00063/0.6442, allocations: 0.5422 MB / 0.6905 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.6442, allocations: 0 / 0.6905 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.086/4.731, allocations: 42.42 MB / 0.7319 GB, free: 5.137 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/4.731, allocations: 253.5 kB / 0.7321 GB, free: 4.801 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/6.991, allocations: 3.938 kB / 0.7322 GB, free: 4.797 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: