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.001389/0.001389, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001588/0.001588, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] 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.002697/0.002697, allocations: 294.2 kB / 313.5 MB, free: 2.84 MB / 238.1 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 1.209/1.209, allocations: 180.6 MB / 0.5377 GB, free: 13.02 MB / 382.1 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: NcDataReader2 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: BuildingSystems 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.002895/0.002895, allocations: 103.1 kB / 0.7408 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1922, allocations: 95.38 MB / 0.8339 GB, free: 8.199 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08443/0.2766, allocations: 71.94 MB / 0.9042 GB, free: 0 / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.02872/0.3053, allocations: 19.12 MB / 0.9229 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/0.3082, allocations: 95.19 kB / 0.923 GB, free: 12.73 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.3109, allocations: 0.858 MB / 0.9238 GB, free: 11.86 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009354/0.3203, allocations: 3.06 MB / 0.9268 GB, free: 8.789 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004944/0.3252, allocations: 1.715 MB / 0.9285 GB, free: 7.082 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007072/0.3323, allocations: 4.085 MB / 0.9325 GB, free: 2.984 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/0.3349, allocations: 1.161 MB / 0.9336 GB, free: 1.789 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0054/0.3403, allocations: 1.857 MB / 0.9354 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.3431, allocations: 1.237 MB / 0.9366 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006009/0.3437, allocations: 176 kB / 0.9368 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004195/0.3479, allocations: 1.497 MB / 0.9382 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007009/0.3486, allocations: 398.4 kB / 0.9386 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.3507, allocations: 0.9216 MB / 0.9395 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006447/0.3571, allocations: 3.142 MB / 0.9426 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3571, allocations: 0 / 0.9426 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3571, allocations: 0 / 0.9426 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.558e-05/0.3572, allocations: 0 / 0.9426 GB, free: 8.547 MB / 0.6856 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.005198/0.3624, allocations: 2.011 MB / 0.9446 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3625, allocations: 17.33 kB / 0.9446 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002439/0.3649, allocations: 451.4 kB / 0.945 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/0.3683, allocations: 1.508 MB / 0.9465 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.501e-05/0.3684, allocations: 86.03 kB / 0.9466 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.3686, allocations: 100 kB / 0.9467 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/0.3715, allocations: 1.313 MB / 0.9479 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.3715, allocations: 3.938 kB / 0.9479 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.3716, allocations: 44 kB / 0.948 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.3717, allocations: 24 kB / 0.948 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.3747, allocations: 1.101 MB / 0.9491 GB, free: 1.695 MB / 0.6856 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.01116/0.3858, allocations: 7.377 MB / 0.9563 GB, free: 9.824 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.389, allocations: 0.7717 MB / 0.957 GB, free: 9.047 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006849/0.3897, allocations: 269.9 kB / 0.9573 GB, free: 8.781 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005732/0.3902, allocations: 156.3 kB / 0.9574 GB, free: 8.629 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.3903, allocations: 39 kB / 0.9575 GB, free: 8.582 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=48): time 2.545e-06/0.3903, allocations: 4 kB / 0.9575 GB, free: 8.578 MB / 0.7013 GB Notification: Performance of matching and sorting (n=48): time 0.004912/0.3952, allocations: 1.268 MB / 0.9587 GB, free: 7.301 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.3953, allocations: 55.84 kB / 0.9588 GB, free: 7.234 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/0.3982, allocations: 1.553 MB / 0.9603 GB, free: 5.672 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 8.954e-05/0.3983, allocations: 33.7 kB / 0.9603 GB, free: 5.633 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007062/0.399, allocations: 0.6819 MB / 0.961 GB, free: 4.945 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.3992, allocations: 174.5 kB / 0.9612 GB, free: 4.773 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.3995, allocations: 178.5 kB / 0.9613 GB, free: 4.594 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0002436/0.3998, allocations: 334 kB / 0.9616 GB, free: 4.262 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009938/0.4008, allocations: 365.8 kB / 0.962 GB, free: 3.902 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.4021, allocations: 0.6584 MB / 0.9626 GB, free: 3.117 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.404, allocations: 0.8896 MB / 0.9635 GB, free: 2.121 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.404, allocations: 3.938 kB / 0.9635 GB, free: 2.117 MB / 0.7013 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003256/0.4073, allocations: 1.201 MB / 0.9647 GB, free: 0.9062 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.4073, allocations: 8 kB / 0.9647 GB, free: 0.8984 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.4073, allocations: 11.98 kB / 0.9647 GB, free: 0.8867 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009605/0.4083, allocations: 220.6 kB / 0.9649 GB, free: 0.668 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/0.4091, allocations: 191.7 kB / 0.9651 GB, free: 492 kB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.4101, allocations: 0.7241 MB / 0.9658 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.4117, allocations: 219 kB / 0.966 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.4118, allocations: 39.98 kB / 0.966 GB, free: 15.47 MB / 0.7169 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.0006946/0.4125, allocations: 357.6 kB / 0.9664 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/0.4129, allocations: 159 kB / 0.9665 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.4156, allocations: 1.148 MB / 0.9677 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.4156, allocations: 15.92 kB / 0.9677 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.4156, allocations: 0 / 0.9677 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.4157, allocations: 3.984 kB / 0.9677 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005892/0.4215, allocations: 2.499 MB / 0.9701 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.4216, allocations: 8 kB / 0.9701 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.4219, allocations: 83.88 kB / 0.9702 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000821/0.4228, allocations: 216.8 kB / 0.9704 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.4228, allocations: 12 kB / 0.9704 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.4242, allocations: 0.7747 MB / 0.9712 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4242, allocations: 0 / 0.9712 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003715/0.4279, allocations: 1.219 MB / 0.9724 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008605/0.4288, allocations: 286.5 kB / 0.9726 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/0.4292, allocations: 16 kB / 0.9727 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.4302, allocations: 71.91 kB / 0.9727 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4303, allocations: 56.34 kB / 0.9728 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.366e-05/0.4304, allocations: 23.98 kB / 0.9728 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002229/0.4326, allocations: 1.09 MB / 0.9739 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4326, allocations: 0 / 0.9739 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001847/0.4345, allocations: 451 kB / 0.9743 GB, free: 6.855 MB / 0.7169 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.00107/0.4356, allocations: 457 kB / 0.9747 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.4379, allocations: 0.8403 MB / 0.9756 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4379, allocations: 0 / 0.9756 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.4393, allocations: 427.3 kB / 0.976 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/0.4427, allocations: 0.7383 MB / 0.9767 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.4475, allocations: 2.341 MB / 0.979 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009703/0.4484, allocations: 1.161 MB / 0.9801 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.4489, allocations: 123.4 kB / 0.9802 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of SimCode: time 7.61e-07/0.4489, allocations: 0 / 0.9802 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of Templates: time 0.4149/0.8637, allocations: 34.37 MB / 1.014 GB, free: 126.8 MB / 0.7169 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.098626622930169] Failed to read output from testmodel.py, exit status != 0: 0.8716714140027761 0.881096382 0.5215225800000001 Calling exit ...