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.0007869/0.0007869, allocations: 93.03 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.0008541/0.0008541, allocations: 179.2 kB / 16.91 MB, free: 6.914 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.277/1.277, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6468/0.6468, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 8 kB / 495.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 77.53 MB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2939/0.4241, allocations: 68.78 MB / 0.6272 GB, free: 9.121 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02309/0.4472, allocations: 18.79 MB / 0.6456 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.4498, allocations: 63.28 kB / 0.6456 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.4516, allocations: 0.6475 MB / 0.6463 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006762/0.4584, allocations: 2.615 MB / 0.6488 GB, free: 8.258 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.4619, allocations: 1.497 MB / 0.6503 GB, free: 7.098 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00538/0.4673, allocations: 5.017 MB / 0.6552 GB, free: 4.281 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.4689, allocations: 1.146 MB / 0.6563 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002582/0.4715, allocations: 1.454 MB / 0.6577 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.4729, allocations: 1.1 MB / 0.6588 GB, free: 1.543 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.473, allocations: 60 kB / 0.6588 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.4755, allocations: 1.216 MB / 0.66 GB, free: 272 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.4758, allocations: 270.6 kB / 0.6603 GB, free: 0 / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000716/0.4765, allocations: 0.8023 MB / 0.6611 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.4795, allocations: 2.959 MB / 0.664 GB, free: 12.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4795, allocations: 0 / 0.664 GB, free: 12.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4795, allocations: 4 kB / 0.664 GB, free: 12.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.4796, allocations: 0 / 0.664 GB, free: 12.21 MB / 494.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.002738/0.4823, allocations: 1.7 MB / 0.6656 GB, free: 10.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4824, allocations: 12.03 kB / 0.6656 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.4825, allocations: 152.6 kB / 0.6658 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.4848, allocations: 0.5023 MB / 0.6663 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.487, allocations: 1.504 MB / 0.6677 GB, free: 8.219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/0.4874, allocations: 150 kB / 0.6679 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.4876, allocations: 107.9 kB / 0.668 GB, free: 7.965 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.49, allocations: 1.321 MB / 0.6693 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.49, allocations: 0 / 0.6693 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.4901, allocations: 47.98 kB / 0.6693 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.4901, allocations: 32 kB / 0.6693 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/0.4928, allocations: 1.155 MB / 0.6705 GB, free: 5.32 MB / 494.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.007639/0.5004, allocations: 7.199 MB / 0.6775 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.5037, allocations: 0.8916 MB / 0.6784 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006281/0.5044, allocations: 302 kB / 0.6787 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.5055, allocations: 1.718 MB / 0.6803 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.5055, allocations: 38.94 kB / 0.6804 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=48): time 2.234e-06/0.5056, allocations: 3.938 kB / 0.6804 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.004758/0.5103, allocations: 1.455 MB / 0.6818 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.5104, allocations: 55.84 kB / 0.6819 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.5125, allocations: 1.54 MB / 0.6834 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.5126, allocations: 37.7 kB / 0.6834 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005234/0.5131, allocations: 0.6614 MB / 0.684 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.5133, allocations: 173.5 kB / 0.6842 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.5134, allocations: 57.69 kB / 0.6843 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5135, allocations: 334 kB / 0.6846 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009945/0.5145, allocations: 389.8 kB / 0.685 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.5157, allocations: 0.6627 MB / 0.6856 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.5174, allocations: 0.8912 MB / 0.6865 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5174, allocations: 0 / 0.6865 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004284/0.5217, allocations: 1.438 MB / 0.6879 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5217, allocations: 10.84 kB / 0.6879 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5218, allocations: 8 kB / 0.6879 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000841/0.5226, allocations: 232.5 kB / 0.6881 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007283/0.5233, allocations: 191.8 kB / 0.6883 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008329/0.5242, allocations: 0.7357 MB / 0.689 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.5257, allocations: 262.6 kB / 0.6893 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/0.5258, allocations: 39.98 kB / 0.6893 GB, free: 0.8125 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005552/0.5264, allocations: 363 kB / 0.6897 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.5266, allocations: 146.2 kB / 0.6898 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.5289, allocations: 1.171 MB / 0.6909 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.5289, allocations: 11.98 kB / 0.6909 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.5289, allocations: 7.938 kB / 0.691 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.529, allocations: 4.078 kB / 0.691 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004971/0.5339, allocations: 2.588 MB / 0.6935 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.534, allocations: 4 kB / 0.6935 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.5343, allocations: 87.88 kB / 0.6936 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007421/0.5351, allocations: 228.7 kB / 0.6938 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.5351, allocations: 16 kB / 0.6938 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.5364, allocations: 0.8059 MB / 0.6946 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5364, allocations: 4.031 kB / 0.6946 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.5398, allocations: 1.281 MB / 0.6959 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/0.5403, allocations: 378.8 kB / 0.6962 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.5405, allocations: 16 kB / 0.6962 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.5414, allocations: 99.81 kB / 0.6963 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.5415, allocations: 48.44 kB / 0.6964 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.5416, allocations: 23.98 kB / 0.6964 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001654/0.5433, allocations: 1.09 MB / 0.6975 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5433, allocations: 0 / 0.6975 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001143/0.5444, allocations: 439.4 kB / 0.6979 GB, free: 7.855 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004292/0.5487, allocations: 2.193 MB / 0.7 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.5508, allocations: 0.8642 MB / 0.7009 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5508, allocations: 96 / 0.7009 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.5522, allocations: 483.4 kB / 0.7013 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/0.5556, allocations: 0.7087 MB / 0.702 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/0.5816, allocations: 11.86 MB / 0.7136 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/0.5824, allocations: 1.168 MB / 0.7147 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001103/0.5835, allocations: 267.9 kB / 0.715 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000745/0.5842, allocations: 0.5461 MB / 0.7155 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.5843, allocations: 7.938 kB / 0.7155 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5193/1.104, allocations: 42.17 MB / 0.7567 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/1.104, allocations: 266.4 kB / 0.757 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/3.936, allocations: 8 kB / 0.757 GB, free: 11.12 MB / 0.5762 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/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)