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.001045/0.001045, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001048/0.001048, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.25/1.25, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7573/0.7573, allocations: 132.2 MB / 422.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.73 kB / 0.5012 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3952, allocations: 80.22 MB / 0.5795 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07011/0.4654, allocations: 70.03 MB / 0.6479 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.026/0.4914, allocations: 18.99 MB / 0.6664 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003545/0.495, allocations: 63.62 kB / 0.6665 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.498, allocations: 0.6682 MB / 0.6671 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008547/0.5067, allocations: 2.602 MB / 0.6697 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004305/0.511, allocations: 1.486 MB / 0.6711 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006431/0.5174, allocations: 5.021 MB / 0.676 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.5194, allocations: 1.179 MB / 0.6772 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00345/0.5229, allocations: 1.493 MB / 0.6787 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.5249, allocations: 1.159 MB / 0.6798 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.5251, allocations: 76 kB / 0.6799 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.5279, allocations: 1.243 MB / 0.6811 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.5282, allocations: 294.6 kB / 0.6814 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.5293, allocations: 0.82 MB / 0.6822 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003862/0.5331, allocations: 3.019 MB / 0.6851 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5332, allocations: 0 / 0.6851 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5332, allocations: 0 / 0.6851 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.5332, allocations: 0 / 0.6851 GB, free: 5.277 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.003473/0.5367, allocations: 2.036 MB / 0.6871 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5367, allocations: 11.97 kB / 0.6871 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.5369, allocations: 156.5 kB / 0.6873 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.5391, allocations: 449.7 kB / 0.6877 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.5416, allocations: 1.508 MB / 0.6892 GB, free: 1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/0.542, allocations: 134 kB / 0.6893 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.5422, allocations: 104 kB / 0.6894 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.5447, allocations: 1.293 MB / 0.6906 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.5447, allocations: 4 kB / 0.6906 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.574e-05/0.5448, allocations: 51.94 kB / 0.6907 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.5448, allocations: 24 kB / 0.6907 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.5474, allocations: 1.108 MB / 0.6918 GB, free: 14.19 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.00848/0.5559, allocations: 7.129 MB / 0.6988 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.5589, allocations: 0.8094 MB / 0.6996 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/0.5594, allocations: 289.9 kB / 0.6998 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.5607, allocations: 1.718 MB / 0.7015 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5607, allocations: 43 kB / 0.7015 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.295e-06/0.5607, allocations: 0 / 0.7015 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004608/0.5654, allocations: 1.33 MB / 0.7028 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.5654, allocations: 55.84 kB / 0.7029 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.5677, allocations: 1.517 MB / 0.7044 GB, free: 348 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-05/0.5678, allocations: 37.7 kB / 0.7044 GB, free: 304 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.5684, allocations: 0.6691 MB / 0.7051 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.5685, allocations: 169.6 kB / 0.7052 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.5688, allocations: 166.5 kB / 0.7054 GB, free: 15.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5689, allocations: 341.9 kB / 0.7057 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009194/0.5698, allocations: 361.8 kB / 0.7061 GB, free: 14.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.571, allocations: 0.6393 MB / 0.7067 GB, free: 13.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.5726, allocations: 0.8483 MB / 0.7075 GB, free: 12.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5726, allocations: 0 / 0.7075 GB, free: 12.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004126/0.5768, allocations: 1.333 MB / 0.7088 GB, free: 11.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.5768, allocations: 8 kB / 0.7088 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.5768, allocations: 7.984 kB / 0.7088 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008425/0.5777, allocations: 225.2 kB / 0.709 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.5784, allocations: 183.8 kB / 0.7092 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008068/0.5792, allocations: 0.7162 MB / 0.7099 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.5808, allocations: 234.7 kB / 0.7101 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.009e-05/0.5809, allocations: 43.97 kB / 0.7102 GB, free: 10.12 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.0005865/0.5815, allocations: 361.5 kB / 0.7105 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.5818, allocations: 146.1 kB / 0.7107 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.584, allocations: 1.138 MB / 0.7118 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.584, allocations: 8 kB / 0.7118 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.584, allocations: 16.02 kB / 0.7118 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.584, allocations: 3.938 kB / 0.7118 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004809/0.5888, allocations: 2.51 MB / 0.7143 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5889, allocations: 4.188 kB / 0.7143 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.5892, allocations: 83.89 kB / 0.7143 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007226/0.59, allocations: 212.6 kB / 0.7145 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.59, allocations: 15.98 kB / 0.7146 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.5912, allocations: 0.7709 MB / 0.7153 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5912, allocations: 4.031 kB / 0.7153 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/0.5944, allocations: 1.207 MB / 0.7165 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/0.595, allocations: 347 kB / 0.7168 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.5952, allocations: 12 kB / 0.7168 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009039/0.5961, allocations: 95.69 kB / 0.7169 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.5962, allocations: 40.5 kB / 0.717 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.5962, allocations: 23.98 kB / 0.717 GB, free: 2.988 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001677/0.5979, allocations: 1.074 MB / 0.718 GB, free: 1.918 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.583e-06/0.5979, allocations: 0 / 0.718 GB, free: 1.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00124/0.5992, allocations: 435.4 kB / 0.7185 GB, free: 1.492 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.004265/0.6034, allocations: 2.113 MB / 0.7205 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.6055, allocations: 0.8291 MB / 0.7213 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6055, allocations: 3.938 kB / 0.7213 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.6068, allocations: 439.5 kB / 0.7218 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/0.61, allocations: 0.6912 MB / 0.7224 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02557/0.6355, allocations: 11.67 MB / 0.7338 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.6362, allocations: 1.172 MB / 0.735 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001101/0.6374, allocations: 264.3 kB / 0.7352 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006728/0.638, allocations: 0.5538 MB / 0.7358 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.638, allocations: 4 kB / 0.7358 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.529/5.167, allocations: 41.65 MB / 0.7764 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/5.167, allocations: 272.9 kB / 0.7767 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.951/8.119, allocations: 8 kB / 0.7767 GB, free: 5.688 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)