Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00113/0.00113, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001199/0.001199, allocations: 177.4 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9614/0.9614, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001666/0.001666, allocations: 256.5 kB / 260.5 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6696/0.6696, allocations: 138.4 MB / 402.2 MB, free: 0.5391 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.349e-05, allocations: 3.844 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01405/0.01408, allocations: 18.28 MB / 480.6 MB, free: 328 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.02536, allocations: 7.162 MB / 487.7 MB, free: 9.211 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.02752, allocations: 96.69 kB / 487.8 MB, free: 9.117 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.02863, allocations: 452.4 kB / 488.3 MB, free: 8.672 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003801/0.03243, allocations: 1.743 MB / 490 MB, free: 6.934 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.03488, allocations: 1.569 MB / 491.6 MB, free: 5.379 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003849/0.03873, allocations: 3.984 MB / 495.6 MB, free: 1.387 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.04043, allocations: 1.196 MB / 496.8 MB, free: 160 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.04304, allocations: 1.984 MB / 498.7 MB, free: 14.18 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.04424, allocations: 0.9605 MB / 499.7 MB, free: 13.21 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.04447, allocations: 172 kB / 499.9 MB, free: 13.05 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000881/0.04535, allocations: 0.6434 MB / 0.4888 GB, free: 12.4 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.04558, allocations: 406.4 kB / 0.4892 GB, free: 12 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005128/0.0461, allocations: 0.5928 MB / 0.4898 GB, free: 11.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.04777, allocations: 1.631 MB / 0.4913 GB, free: 9.773 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.04778, allocations: 1.406 kB / 0.4913 GB, free: 9.773 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.04778, allocations: 0 / 0.4913 GB, free: 9.773 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.0478, allocations: 0 / 0.4913 GB, free: 9.773 MB / 458.7 MB 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.001958/0.04976, allocations: 1.9 MB / 0.4932 GB, free: 7.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.04979, allocations: 8.75 kB / 0.4932 GB, free: 7.832 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009335/0.05073, allocations: 392.2 kB / 0.4936 GB, free: 7.457 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.05184, allocations: 0.9715 MB / 0.4945 GB, free: 6.441 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.05189, allocations: 78.03 kB / 0.4946 GB, free: 6.363 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.685e-05/0.05198, allocations: 109.4 kB / 0.4947 GB, free: 6.258 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.05299, allocations: 0.9846 MB / 0.4957 GB, free: 5.145 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.05301, allocations: 7.938 kB / 0.4957 GB, free: 5.137 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.05307, allocations: 40 kB / 0.4957 GB, free: 5.098 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.05308, allocations: 28.84 kB / 0.4957 GB, free: 5.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.05355, allocations: 356 kB / 0.4961 GB, free: 4.727 MB / 458.7 MB 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.003629/0.05717, allocations: 4.252 MB / 0.5002 GB, free: 368 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.05789, allocations: 416.8 kB / 0.5006 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.058, allocations: 95.11 kB / 0.5007 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.05814, allocations: 73.16 kB / 0.5008 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.05816, allocations: 39 kB / 0.5008 GB, free: 15.74 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 2.334e-06/0.05816, allocations: 4.625 kB / 0.5008 GB, free: 15.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.001163/0.05933, allocations: 0.5502 MB / 0.5014 GB, free: 15.19 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.05935, allocations: 61.09 kB / 0.5014 GB, free: 15.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.0601, allocations: 0.9496 MB / 0.5024 GB, free: 14.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.06014, allocations: 37.7 kB / 0.5024 GB, free: 14.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.06038, allocations: 0.549 MB / 0.5029 GB, free: 13.56 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.599e-05/0.06046, allocations: 175.1 kB / 0.5031 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.06062, allocations: 170.5 kB / 0.5033 GB, free: 13.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.0607, allocations: 339.3 kB / 0.5036 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.06086, allocations: 92.78 kB / 0.5037 GB, free: 12.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.06125, allocations: 0.7186 MB / 0.5044 GB, free: 11.87 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.06164, allocations: 485.5 kB / 0.5048 GB, free: 11.29 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.06165, allocations: 4 kB / 0.5048 GB, free: 11.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000598/0.06224, allocations: 0.5167 MB / 0.5053 GB, free: 10.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.06226, allocations: 8 kB / 0.5054 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.06227, allocations: 8 kB / 0.5054 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.06284, allocations: 164.8 kB / 0.5055 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.06317, allocations: 177.5 kB / 0.5057 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002968/0.06346, allocations: 0.5806 MB / 0.5063 GB, free: 9.832 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.06391, allocations: 140 kB / 0.5064 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.06396, allocations: 38.67 kB / 0.5064 GB, free: 9.664 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.0002082/0.06417, allocations: 164.4 kB / 0.5066 GB, free: 9.492 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.06426, allocations: 83.91 kB / 0.5067 GB, free: 9.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007194/0.06498, allocations: 0.6457 MB / 0.5073 GB, free: 8.785 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.06499, allocations: 9.125 kB / 0.5073 GB, free: 8.777 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.06499, allocations: 3.938 kB / 0.5073 GB, free: 8.773 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.065, allocations: 3.984 kB / 0.5073 GB, free: 8.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.06652, allocations: 1.287 MB / 0.5086 GB, free: 7.441 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.06652, allocations: 4 kB / 0.5086 GB, free: 7.438 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.06667, allocations: 75.89 kB / 0.5086 GB, free: 7.363 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000332/0.067, allocations: 166 kB / 0.5088 GB, free: 7.199 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.06703, allocations: 19.98 kB / 0.5088 GB, free: 7.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003539/0.06738, allocations: 0.6069 MB / 0.5094 GB, free: 6.547 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.06738, allocations: 5.016 kB / 0.5094 GB, free: 6.543 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007636/0.06815, allocations: 0.6568 MB / 0.5101 GB, free: 5.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.06836, allocations: 167 kB / 0.5102 GB, free: 5.676 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/0.06844, allocations: 12 kB / 0.5102 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.0687, allocations: 39.95 kB / 0.5103 GB, free: 5.625 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.06875, allocations: 44.36 kB / 0.5103 GB, free: 5.582 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.06878, allocations: 19.98 kB / 0.5103 GB, free: 5.562 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003633/0.06914, allocations: 478.4 kB / 0.5108 GB, free: 5.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.06914, allocations: 0 / 0.5108 GB, free: 5.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006547/0.0698, allocations: 395 kB / 0.5112 GB, free: 4.703 MB / 474.7 MB 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.0002917/0.07009, allocations: 217.9 kB / 0.5114 GB, free: 4.488 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004762/0.07057, allocations: 371.6 kB / 0.5117 GB, free: 4.121 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/0.07058, allocations: 12.5 kB / 0.5117 GB, free: 4.109 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.07088, allocations: 215.9 kB / 0.5119 GB, free: 3.902 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.07182, allocations: 476.4 kB / 0.5124 GB, free: 3.484 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.07424, allocations: 2.02 MB / 0.5144 GB, free: 1.402 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.07439, allocations: 237.2 kB / 0.5146 GB, free: 1.145 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000462/0.07485, allocations: 201.7 kB / 0.5148 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/0.07549, allocations: 422.9 kB / 0.5152 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of SimCode: time 8.52e-07/0.07549, allocations: 4 kB / 0.5152 GB, free: 0.543 MB / 474.7 MB Notification: Performance of Templates: time 0.02605/0.1015, allocations: 23.5 MB / 0.5381 GB, free: 9.75 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.969392058905214]