Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_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.0007313/0.0007313, 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.004273/0.004273, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.246/1.246, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7075/0.7075, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002786, allocations: 9.031 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.378, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07651/0.4545, allocations: 68.82 MB / 0.651 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02167/0.4762, allocations: 18.76 MB / 0.6693 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.4787, allocations: 63.56 kB / 0.6693 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.4813, allocations: 0.6527 MB / 0.67 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008915/0.4902, allocations: 2.605 MB / 0.6725 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.4947, allocations: 1.483 MB / 0.674 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008081/0.5028, allocations: 5.012 MB / 0.6789 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.5053, allocations: 1.16 MB / 0.68 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.5094, allocations: 1.454 MB / 0.6814 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/0.5118, allocations: 1.108 MB / 0.6825 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003444/0.5122, allocations: 56 kB / 0.6825 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.5158, allocations: 1.22 MB / 0.6837 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004906/0.5163, allocations: 258.7 kB / 0.684 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.5179, allocations: 0.81 MB / 0.6848 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00527/0.5231, allocations: 2.952 MB / 0.6877 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5232, allocations: 0 / 0.6877 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5232, allocations: 3.938 kB / 0.6877 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.051e-05/0.5233, allocations: 0 / 0.6877 GB, free: 5.672 MB / 0.5137 GB 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.004658/0.5279, allocations: 1.711 MB / 0.6893 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.528, allocations: 16.03 kB / 0.6893 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004282/0.5284, allocations: 152.6 kB / 0.6895 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.5316, allocations: 0.4977 MB / 0.69 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.5347, allocations: 1.504 MB / 0.6915 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000398/0.5351, allocations: 150 kB / 0.6916 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.5353, allocations: 104 kB / 0.6917 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002777/0.5381, allocations: 1.325 MB / 0.693 GB, free: 16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.5381, allocations: 3.938 kB / 0.693 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.5382, allocations: 47.94 kB / 0.693 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.5383, allocations: 28 kB / 0.6931 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002862/0.5411, allocations: 1.151 MB / 0.6942 GB, free: 14.77 MB / 0.5294 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.009378/0.5505, allocations: 7.187 MB / 0.7012 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00322/0.5538, allocations: 0.8955 MB / 0.7021 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.5544, allocations: 298 kB / 0.7024 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.5556, allocations: 1.718 MB / 0.704 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.5556, allocations: 35 kB / 0.7041 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 4.508e-06/0.5557, allocations: 7.984 kB / 0.7041 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004738/0.5604, allocations: 1.459 MB / 0.7055 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.5604, allocations: 55.84 kB / 0.7056 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.5629, allocations: 1.533 MB / 0.7071 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/0.563, allocations: 37.7 kB / 0.7071 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005457/0.5635, allocations: 0.6654 MB / 0.7077 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.5637, allocations: 169.6 kB / 0.7079 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.5638, allocations: 57.69 kB / 0.708 GB, free: 15.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5639, allocations: 345.9 kB / 0.7083 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009701/0.5649, allocations: 389.8 kB / 0.7087 GB, free: 14.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.5661, allocations: 0.6666 MB / 0.7093 GB, free: 14.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.5678, allocations: 0.8873 MB / 0.7102 GB, free: 13.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.5678, allocations: 0 / 0.7102 GB, free: 13.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004297/0.5721, allocations: 1.439 MB / 0.7116 GB, free: 11.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5721, allocations: 14.06 kB / 0.7116 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5722, allocations: 8 kB / 0.7116 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008191/0.573, allocations: 224.6 kB / 0.7118 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/0.5737, allocations: 199.7 kB / 0.712 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008246/0.5745, allocations: 0.728 MB / 0.7127 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.5761, allocations: 262.7 kB / 0.713 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/0.5762, allocations: 43.97 kB / 0.713 GB, free: 10.25 MB / 0.545 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.0005345/0.5767, allocations: 353.6 kB / 0.7134 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.577, allocations: 150.1 kB / 0.7135 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.5793, allocations: 1.177 MB / 0.7146 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.5793, allocations: 11.94 kB / 0.7147 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5793, allocations: 0 / 0.7147 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.5793, allocations: 3.984 kB / 0.7147 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005027/0.5844, allocations: 2.6 MB / 0.7172 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.5844, allocations: 4 kB / 0.7172 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.5847, allocations: 88.08 kB / 0.7173 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007227/0.5855, allocations: 220.6 kB / 0.7175 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.5855, allocations: 23.98 kB / 0.7175 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.5868, allocations: 0.7981 MB / 0.7183 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.5868, allocations: 8.016 kB / 0.7183 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.5901, allocations: 1.285 MB / 0.7196 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.5907, allocations: 374.8 kB / 0.7199 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.5909, allocations: 19.98 kB / 0.7199 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009384/0.5918, allocations: 107.8 kB / 0.72 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.5919, allocations: 40.5 kB / 0.7201 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/0.592, allocations: 23.98 kB / 0.7201 GB, free: 2.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001677/0.5936, allocations: 1.09 MB / 0.7212 GB, free: 1.734 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5936, allocations: 0 / 0.7212 GB, free: 1.734 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001135/0.5948, allocations: 431.4 kB / 0.7216 GB, free: 1.312 MB / 0.545 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.004256/0.5991, allocations: 2.205 MB / 0.7237 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.6011, allocations: 0.8759 MB / 0.7246 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6011, allocations: 0 / 0.7246 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.6023, allocations: 475.5 kB / 0.725 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/0.6057, allocations: 0.7059 MB / 0.7257 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/0.6326, allocations: 11.85 MB / 0.7373 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008894/0.6335, allocations: 1.168 MB / 0.7384 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001149/0.6347, allocations: 260.7 kB / 0.7387 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007909/0.6355, allocations: 0.5539 MB / 0.7392 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.6355, allocations: 0 / 0.7392 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5382/1.174, allocations: 42.16 MB / 0.7804 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/1.174, allocations: 272 kB / 0.7807 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/3.937, allocations: 0 / 0.7807 GB, free: 4.672 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)