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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 222.9 kB / 22.26 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8191/0.8191, allocations: 134 MB / 446.4 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 65.88 kB / 0.6185 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1682, allocations: 85.91 MB / 0.7024 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4137/0.582, allocations: 71.93 MB / 0.7727 GB, free: 16.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02042/0.6024, allocations: 19.1 MB / 0.7913 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.6051, allocations: 96.16 kB / 0.7914 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.6069, allocations: 0.8463 MB / 0.7922 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007129/0.6141, allocations: 3.065 MB / 0.7952 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.6177, allocations: 1.715 MB / 0.7969 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0052/0.6229, allocations: 4.092 MB / 0.8009 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.6246, allocations: 1.157 MB / 0.802 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00419/0.6288, allocations: 1.855 MB / 0.8038 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.6307, allocations: 1.242 MB / 0.8051 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.6309, allocations: 175.5 kB / 0.8052 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.634, allocations: 1.497 MB / 0.8067 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003827/0.6344, allocations: 399.7 kB / 0.8071 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009644/0.6354, allocations: 0.9163 MB / 0.808 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.6393, allocations: 3.163 MB / 0.8111 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6393, allocations: 0 / 0.8111 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6393, allocations: 0 / 0.8111 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.994e-05/0.6393, allocations: 7.938 kB / 0.8111 GB, free: 8.457 MB / 0.5762 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.003255/0.6426, allocations: 2.013 MB / 0.813 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.6426, allocations: 9.875 kB / 0.813 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.6428, allocations: 158.1 kB / 0.8132 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.6448, allocations: 455.4 kB / 0.8136 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.6474, allocations: 1.501 MB / 0.8151 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.6474, allocations: 81.25 kB / 0.8152 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.6476, allocations: 102.2 kB / 0.8153 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.6498, allocations: 1.317 MB / 0.8165 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.6498, allocations: 3.938 kB / 0.8166 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.702e-05/0.6499, allocations: 46.22 kB / 0.8166 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.6499, allocations: 33.34 kB / 0.8166 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.6523, allocations: 1.103 MB / 0.8177 GB, free: 3.836 MB / 0.5762 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.008191/0.6605, allocations: 7.371 MB / 0.8249 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.6634, allocations: 0.7779 MB / 0.8257 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005628/0.664, allocations: 266 kB / 0.8259 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005231/0.6645, allocations: 164.2 kB / 0.8261 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.6645, allocations: 39 kB / 0.8261 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=48): time 2.424e-06/0.6645, allocations: 0 / 0.8261 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.004356/0.6689, allocations: 1.26 MB / 0.8273 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.6689, allocations: 55.84 kB / 0.8274 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.6711, allocations: 1.553 MB / 0.8289 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.6712, allocations: 37.7 kB / 0.8289 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000613/0.6718, allocations: 0.6896 MB / 0.8296 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.6719, allocations: 178.5 kB / 0.8298 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.6722, allocations: 170.5 kB / 0.83 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6724, allocations: 337.9 kB / 0.8303 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009107/0.6733, allocations: 361.8 kB / 0.8306 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.6745, allocations: 0.6699 MB / 0.8313 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.6762, allocations: 0.8819 MB / 0.8321 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.6762, allocations: 12 kB / 0.8321 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002828/0.679, allocations: 1.197 MB / 0.8333 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.679, allocations: 8 kB / 0.8333 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.6791, allocations: 9.328 kB / 0.8333 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008643/0.6799, allocations: 232.5 kB / 0.8336 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/0.6807, allocations: 183.7 kB / 0.8337 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008964/0.6816, allocations: 0.7279 MB / 0.8344 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.683, allocations: 215 kB / 0.8346 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/0.6831, allocations: 39.98 kB / 0.8347 GB, free: 2.82 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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.0005454/0.6836, allocations: 358.1 kB / 0.835 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.6838, allocations: 159 kB / 0.8352 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.6861, allocations: 1.146 MB / 0.8363 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.6862, allocations: 11.98 kB / 0.8363 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.6862, allocations: 0 / 0.8363 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.6862, allocations: 7.984 kB / 0.8363 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005032/0.6912, allocations: 2.495 MB / 0.8388 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.6912, allocations: 8 kB / 0.8388 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.6916, allocations: 88 kB / 0.8388 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006967/0.6923, allocations: 212.6 kB / 0.839 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.6923, allocations: 15.98 kB / 0.8391 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.6936, allocations: 0.7747 MB / 0.8398 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6936, allocations: 0 / 0.8398 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.6968, allocations: 1.223 MB / 0.841 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.6973, allocations: 286.6 kB / 0.8413 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.6975, allocations: 11.94 kB / 0.8413 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/0.6983, allocations: 80.09 kB / 0.8414 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/0.6984, allocations: 44.36 kB / 0.8414 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.6985, allocations: 27.92 kB / 0.8414 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001636/0.7001, allocations: 1.09 MB / 0.8425 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.7001, allocations: 0 / 0.8425 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00125/0.7014, allocations: 443.1 kB / 0.8429 GB, free: 10.24 MB / 0.6075 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.004228/0.7056, allocations: 2.126 MB / 0.845 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.7076, allocations: 0.8364 MB / 0.8458 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7076, allocations: 0 / 0.8458 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.7088, allocations: 423.4 kB / 0.8462 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.7116, allocations: 0.744 MB / 0.847 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/0.7283, allocations: 10.5 MB / 0.8572 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008134/0.7292, allocations: 1.172 MB / 0.8583 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009953/0.7302, allocations: 272.1 kB / 0.8586 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007524/0.7309, allocations: 0.55 MB / 0.8591 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of SimCode: time 8.12e-07/0.7309, allocations: 0 / 0.8591 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09485/0.8258, allocations: 44.49 MB / 0.9026 GB, free: 13.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.55, allocations: 7.938 kB / 0.9026 GB, free: 13.09 MB / 0.67 GB " [Timeout remaining time 644] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.047142372000962] Failed to read output from testmodel.py, exit status != 0: 15.691163200885057 15.717387797 15.07305565 Calling exit ...