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.001603/0.001603, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001516/0.001516, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002557/0.002557, allocations: 290.9 kB / 313.5 MB, free: 2.609 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.225/1.225, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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.002993/0.002993, allocations: 102.5 kB / 0.7407 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1876, allocations: 95.4 MB / 0.8339 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07665/0.2643, allocations: 65.01 MB / 0.8974 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02575/0.29, allocations: 17.57 MB / 0.9145 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/0.2923, allocations: 95.19 kB / 0.9146 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.2946, allocations: 0.8268 MB / 0.9154 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008041/0.3026, allocations: 3.031 MB / 0.9184 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004354/0.3069, allocations: 1.684 MB / 0.92 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005944/0.3129, allocations: 4.079 MB / 0.924 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/0.3148, allocations: 1.138 MB / 0.9251 GB, free: 10.03 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004359/0.3192, allocations: 1.87 MB / 0.9269 GB, free: 8.152 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.3217, allocations: 1.155 MB / 0.9281 GB, free: 6.992 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002964/0.322, allocations: 172 kB / 0.9282 GB, free: 6.824 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.3248, allocations: 1.166 MB / 0.9294 GB, free: 5.656 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.3252, allocations: 390.5 kB / 0.9297 GB, free: 5.273 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009599/0.3262, allocations: 0.7233 MB / 0.9304 GB, free: 4.547 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00452/0.3307, allocations: 3.099 MB / 0.9335 GB, free: 1.441 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3307, allocations: 0 / 0.9335 GB, free: 1.441 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3307, allocations: 0 / 0.9335 GB, free: 1.441 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.3307, allocations: 0 / 0.9335 GB, free: 1.441 MB / 0.67 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.003771/0.3345, allocations: 2.01 MB / 0.9354 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3345, allocations: 13.34 kB / 0.9354 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.3368, allocations: 455.3 kB / 0.9359 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.3398, allocations: 1.51 MB / 0.9374 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.155e-05/0.3399, allocations: 89.95 kB / 0.9374 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.3401, allocations: 104 kB / 0.9375 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.3428, allocations: 1.41 MB / 0.9389 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.3429, allocations: 7.938 kB / 0.9389 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.343, allocations: 40 kB / 0.939 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.343, allocations: 28 kB / 0.939 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/0.3458, allocations: 1.101 MB / 0.9401 GB, free: 10.46 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.008597/0.3544, allocations: 5.394 MB / 0.9453 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/0.3576, allocations: 0.7766 MB / 0.9461 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.3583, allocations: 262 kB / 0.9463 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/0.3588, allocations: 156.3 kB / 0.9465 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.3589, allocations: 46.98 kB / 0.9465 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.315e-06/0.3589, allocations: 3.938 kB / 0.9465 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.004903/0.3638, allocations: 1.237 MB / 0.9477 GB, free: 2.422 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3638, allocations: 55.84 kB / 0.9478 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.3659, allocations: 1.22 MB / 0.949 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/0.366, allocations: 37.7 kB / 0.949 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006296/0.3666, allocations: 0.711 MB / 0.9497 GB, free: 372 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.3668, allocations: 178.5 kB / 0.9499 GB, free: 192 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.3671, allocations: 174.5 kB / 0.9501 GB, free: 12 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3673, allocations: 334 kB / 0.9504 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.3683, allocations: 369.8 kB / 0.9507 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.3698, allocations: 0.9808 MB / 0.9517 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.3717, allocations: 0.8897 MB / 0.9526 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.3717, allocations: 4 kB / 0.9526 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003056/0.3747, allocations: 1.165 MB / 0.9537 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3747, allocations: 12 kB / 0.9537 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.3748, allocations: 12.03 kB / 0.9537 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008897/0.3756, allocations: 212.6 kB / 0.9539 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.3764, allocations: 199.7 kB / 0.9541 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000959/0.3774, allocations: 0.7162 MB / 0.9548 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.3787, allocations: 175.4 kB / 0.955 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.746e-05/0.3788, allocations: 43.98 kB / 0.955 GB, free: 10.56 MB / 0.7012 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.0006269/0.3795, allocations: 356.7 kB / 0.9554 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.3797, allocations: 123.2 kB / 0.9555 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.3822, allocations: 1.137 MB / 0.9566 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.3822, allocations: 15.98 kB / 0.9566 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3822, allocations: 4 kB / 0.9566 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3822, allocations: 3.984 kB / 0.9566 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005237/0.3875, allocations: 2.181 MB / 0.9587 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.3875, allocations: 0 / 0.9587 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.3879, allocations: 87.88 kB / 0.9588 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007839/0.3886, allocations: 216.7 kB / 0.959 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.3887, allocations: 16 kB / 0.959 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.3901, allocations: 0.7787 MB / 0.9598 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3901, allocations: 0 / 0.9598 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.3936, allocations: 1.19 MB / 0.961 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/0.3942, allocations: 246.8 kB / 0.9612 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.3944, allocations: 12 kB / 0.9612 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/0.3952, allocations: 67.86 kB / 0.9613 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.3953, allocations: 48.42 kB / 0.9613 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/0.3953, allocations: 23.98 kB / 0.9613 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001547/0.3969, allocations: 0.8548 MB / 0.9622 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3969, allocations: 0 / 0.9622 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001379/0.3983, allocations: 478.7 kB / 0.9626 GB, free: 2.609 MB / 0.7012 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.0008141/0.3991, allocations: 467.6 kB / 0.9631 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.4013, allocations: 0.8247 MB / 0.9639 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4013, allocations: 320 / 0.9639 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.4027, allocations: 431 kB / 0.9643 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.4047, allocations: 474.4 kB / 0.9648 GB, free: 460 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.4091, allocations: 2.296 MB / 0.967 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.4098, allocations: 0.5679 MB / 0.9676 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/0.4101, allocations: 111.4 kB / 0.9677 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of SimCode: time 1.192e-06/0.4102, allocations: 0 / 0.9677 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of Templates: time 0.4099/0.82, allocations: 31.45 MB / 0.9984 GB, free: 135.3 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: 12.21028005797416] Failed to read output from testmodel.py, exit status != 0: 0.8275863556191325 0.837498921 0.504522841 Calling exit ...