Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_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.0008793/0.0008793, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005214/0.005214, allocations: 170 kB / 16.26 MB, free: 6.613 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.188/1.188, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8342/0.8342, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.000311, allocations: 16 kB / 0.5077 GB, free: 4.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1286, allocations: 82.31 MB / 0.5881 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2746/0.4033, allocations: 68.8 MB / 0.6553 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.4204, allocations: 18.77 MB / 0.6736 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.422, allocations: 59.28 kB / 0.6736 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.4237, allocations: 0.658 MB / 0.6743 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005682/0.4294, allocations: 2.6 MB / 0.6768 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.4325, allocations: 1.492 MB / 0.6783 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005188/0.4377, allocations: 5.024 MB / 0.6832 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.4392, allocations: 1.139 MB / 0.6843 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.4417, allocations: 1.456 MB / 0.6857 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.443, allocations: 1.105 MB / 0.6868 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.4431, allocations: 57.47 kB / 0.6869 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.4455, allocations: 1.22 MB / 0.688 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.4457, allocations: 265.1 kB / 0.6883 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006837/0.4464, allocations: 0.8 MB / 0.6891 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.4495, allocations: 2.955 MB / 0.692 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.4495, allocations: 1.125 kB / 0.692 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4495, allocations: 0 / 0.692 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.4495, allocations: 4 kB / 0.692 GB, free: 4.461 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.002747/0.4523, allocations: 1.706 MB / 0.6936 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.4523, allocations: 11.56 kB / 0.6936 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.4525, allocations: 159 kB / 0.6938 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.4547, allocations: 0.4978 MB / 0.6943 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.4569, allocations: 1.515 MB / 0.6958 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003641/0.4573, allocations: 146 kB / 0.6959 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.4574, allocations: 101.3 kB / 0.696 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.4599, allocations: 1.32 MB / 0.6973 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.4599, allocations: 6.828 kB / 0.6973 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.621e-05/0.46, allocations: 42.41 kB / 0.6973 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.46, allocations: 37.58 kB / 0.6974 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.4627, allocations: 1.16 MB / 0.6985 GB, free: 0.9414 MB / 0.5137 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.007205/0.4699, allocations: 7.175 MB / 0.7055 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/0.4731, allocations: 0.8932 MB / 0.7064 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.4737, allocations: 301.1 kB / 0.7067 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.4748, allocations: 1.723 MB / 0.7084 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.4748, allocations: 37.34 kB / 0.7084 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.354e-06/0.4748, allocations: 0 / 0.7084 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004664/0.4795, allocations: 1.454 MB / 0.7098 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.4795, allocations: 56.12 kB / 0.7099 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.4817, allocations: 1.536 MB / 0.7114 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.4818, allocations: 41.3 kB / 0.7114 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.4823, allocations: 0.6715 MB / 0.7121 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.4824, allocations: 163.4 kB / 0.7122 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.4825, allocations: 62.06 kB / 0.7123 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.4826, allocations: 339.4 kB / 0.7126 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009617/0.4836, allocations: 384 kB / 0.713 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.4848, allocations: 0.6642 MB / 0.7136 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.4865, allocations: 0.8886 MB / 0.7145 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4865, allocations: 6.531 kB / 0.7145 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004168/0.4907, allocations: 1.44 MB / 0.7159 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4907, allocations: 7.781 kB / 0.7159 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4907, allocations: 8.312 kB / 0.7159 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008067/0.4915, allocations: 228.6 kB / 0.7161 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.4922, allocations: 198.6 kB / 0.7163 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000853/0.4931, allocations: 0.7318 MB / 0.717 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.4947, allocations: 258.7 kB / 0.7173 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.219e-05/0.4948, allocations: 42.17 kB / 0.7173 GB, free: 3.297 MB / 0.5294 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.0004854/0.4953, allocations: 357.6 kB / 0.7177 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.4955, allocations: 152.3 kB / 0.7178 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.4977, allocations: 1.171 MB / 0.7189 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.4978, allocations: 13.44 kB / 0.719 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4978, allocations: 1.375 kB / 0.719 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.4978, allocations: 7.984 kB / 0.719 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004768/0.5026, allocations: 2.597 MB / 0.7215 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.5026, allocations: 3.938 kB / 0.7215 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.5029, allocations: 89.89 kB / 0.7216 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006769/0.5036, allocations: 223.6 kB / 0.7218 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.5037, allocations: 19.95 kB / 0.7218 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.5049, allocations: 0.8011 MB / 0.7226 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5049, allocations: 0 / 0.7226 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.5081, allocations: 1.288 MB / 0.7239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.5085, allocations: 374.4 kB / 0.7242 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.5087, allocations: 18.58 kB / 0.7242 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/0.5096, allocations: 103.3 kB / 0.7243 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.5097, allocations: 48.8 kB / 0.7244 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/0.5098, allocations: 28.59 kB / 0.7244 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001499/0.5113, allocations: 1.083 MB / 0.7255 GB, free: 13.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5113, allocations: 0 / 0.7255 GB, free: 13.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001178/0.5125, allocations: 435.4 kB / 0.7259 GB, free: 13.43 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.004331/0.5168, allocations: 2.196 MB / 0.728 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.5188, allocations: 0.8788 MB / 0.7289 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5188, allocations: 0 / 0.7289 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.52, allocations: 477.5 kB / 0.7293 GB, free: 9.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003532/0.5236, allocations: 0.708 MB / 0.73 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02781/0.5514, allocations: 11.85 MB / 0.7416 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.5521, allocations: 1.172 MB / 0.7428 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001007/0.5531, allocations: 263.9 kB / 0.743 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006871/0.5538, allocations: 0.5539 MB / 0.7435 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.5538, allocations: 0 / 0.7435 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.88/9.433, allocations: 42.17 MB / 0.7847 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003168/9.434, allocations: 265.5 kB / 0.785 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/11.9, allocations: 0 / 0.785 GB, free: 0.6914 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)