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.001209/0.001209, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001205/0.001205, allocations: 191 kB / 16.25 MB, free: 6.625 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.16/1.16, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6793/0.6793, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 59.97 kB / 0.5013 GB, free: 4.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3065, allocations: 80.2 MB / 0.5797 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06015/0.3667, allocations: 69.86 MB / 0.6479 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02001/0.3868, allocations: 18.76 MB / 0.6662 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.3889, allocations: 67.56 kB / 0.6663 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.3908, allocations: 0.7074 MB / 0.667 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005736/0.3966, allocations: 2.649 MB / 0.6696 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.3996, allocations: 1.522 MB / 0.671 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004153/0.4038, allocations: 4.053 MB / 0.675 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.4055, allocations: 1.457 MB / 0.6764 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.4084, allocations: 1.788 MB / 0.6782 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.4096, allocations: 1.214 MB / 0.6794 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.4097, allocations: 180 kB / 0.6795 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.4117, allocations: 1.427 MB / 0.6809 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.4119, allocations: 390.6 kB / 0.6813 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006776/0.4126, allocations: 0.9254 MB / 0.6822 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.4152, allocations: 3.105 MB / 0.6852 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4152, allocations: 3.938 kB / 0.6852 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4152, allocations: 0 / 0.6852 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.4152, allocations: 0 / 0.6852 GB, free: 5.246 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.002718/0.4179, allocations: 2.034 MB / 0.6872 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.418, allocations: 12.03 kB / 0.6872 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.4181, allocations: 152.6 kB / 0.6874 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.4202, allocations: 445.7 kB / 0.6878 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.4223, allocations: 1.508 MB / 0.6893 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.4226, allocations: 146 kB / 0.6894 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.4227, allocations: 100 kB / 0.6895 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.4249, allocations: 1.293 MB / 0.6908 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.425, allocations: 0 / 0.6908 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.339e-05/0.4251, allocations: 47.94 kB / 0.6908 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.4251, allocations: 27.94 kB / 0.6908 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.4275, allocations: 1.105 MB / 0.6919 GB, free: 14.17 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.006813/0.4343, allocations: 7.133 MB / 0.6989 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.4373, allocations: 0.8133 MB / 0.6997 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.4378, allocations: 282 kB / 0.7 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.4388, allocations: 1.726 MB / 0.7016 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.4389, allocations: 35 kB / 0.7017 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 1.643e-06/0.4389, allocations: 4 kB / 0.7017 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.00421/0.4431, allocations: 1.327 MB / 0.703 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.4431, allocations: 59.78 kB / 0.703 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.445, allocations: 1.525 MB / 0.7045 GB, free: 320 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.445, allocations: 37.7 kB / 0.7046 GB, free: 276 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004663/0.4455, allocations: 0.6653 MB / 0.7052 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.4456, allocations: 169.6 kB / 0.7054 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.4459, allocations: 162.5 kB / 0.7055 GB, free: 15.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.446, allocations: 333.9 kB / 0.7058 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008901/0.4469, allocations: 373.7 kB / 0.7062 GB, free: 14.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.448, allocations: 0.6315 MB / 0.7068 GB, free: 13.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.4495, allocations: 0.8483 MB / 0.7076 GB, free: 12.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4496, allocations: 0 / 0.7076 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003813/0.4534, allocations: 1.33 MB / 0.7089 GB, free: 11.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4534, allocations: 16.09 kB / 0.709 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4534, allocations: 8 kB / 0.709 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007462/0.4542, allocations: 216.6 kB / 0.7092 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.4549, allocations: 187.7 kB / 0.7093 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007157/0.4556, allocations: 0.7123 MB / 0.71 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.4569, allocations: 242.7 kB / 0.7103 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/0.457, allocations: 39.98 kB / 0.7103 GB, free: 10.11 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.0003968/0.4574, allocations: 355 kB / 0.7107 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.4576, allocations: 150.1 kB / 0.7108 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.4597, allocations: 1.145 MB / 0.7119 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.4597, allocations: 11.98 kB / 0.7119 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4597, allocations: 0 / 0.7119 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4597, allocations: 3.984 kB / 0.7119 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/0.4641, allocations: 2.514 MB / 0.7144 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4641, allocations: 0 / 0.7144 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.4645, allocations: 87.88 kB / 0.7145 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006288/0.4651, allocations: 212.8 kB / 0.7147 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.4652, allocations: 16 kB / 0.7147 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.4663, allocations: 0.7748 MB / 0.7154 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4663, allocations: 0 / 0.7154 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002953/0.4692, allocations: 1.207 MB / 0.7166 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.4696, allocations: 343.2 kB / 0.7169 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.4698, allocations: 12 kB / 0.717 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008637/0.4707, allocations: 99.62 kB / 0.7171 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.4708, allocations: 48.44 kB / 0.7171 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.4708, allocations: 23.98 kB / 0.7171 GB, free: 2.965 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001378/0.4722, allocations: 1.074 MB / 0.7182 GB, free: 1.895 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4722, allocations: 0 / 0.7182 GB, free: 1.895 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009297/0.4731, allocations: 431.4 kB / 0.7186 GB, free: 1.473 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.003852/0.477, allocations: 2.113 MB / 0.7206 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.479, allocations: 0.8718 MB / 0.7215 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.479, allocations: 0 / 0.7215 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.4802, allocations: 435.5 kB / 0.7219 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.4827, allocations: 0.7375 MB / 0.7226 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/0.5051, allocations: 11.66 MB / 0.734 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.5057, allocations: 1.176 MB / 0.7352 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008194/0.5065, allocations: 260.9 kB / 0.7354 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000627/0.5072, allocations: 0.55 MB / 0.736 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.5072, allocations: 0 / 0.736 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.109/3.616, allocations: 42.73 MB / 0.7777 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/3.617, allocations: 268.8 kB / 0.7779 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/6.274, allocations: 11.77 kB / 0.778 GB, free: 4.586 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)