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.001937/0.001937, allocations: 80.92 kB / 19.18 MB, free: 2.516 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.001469/0.001469, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.00249/0.00249, allocations: 245.1 kB / 259.4 MB, free: 464 kB / 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.096/1.096, allocations: 138.4 MB / 454.3 MB, free: 2.004 MB / 366.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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.158e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3375/0.3375, allocations: 64.49 MB / 0.7098 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02145/0.3589, allocations: 17.53 MB / 0.7269 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003127/0.3621, allocations: 95.19 kB / 0.727 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.3643, allocations: 0.8312 MB / 0.7278 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008304/0.3726, allocations: 3.111 MB / 0.7308 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.3768, allocations: 1.774 MB / 0.7325 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006362/0.3832, allocations: 4.076 MB / 0.7365 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.3852, allocations: 1.139 MB / 0.7376 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004957/0.3901, allocations: 2.418 MB / 0.74 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.3921, allocations: 1.037 MB / 0.741 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002468/0.3923, allocations: 175.9 kB / 0.7412 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.3951, allocations: 1.172 MB / 0.7423 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.3955, allocations: 413.3 kB / 0.7427 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008159/0.3963, allocations: 0.5982 MB / 0.7433 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004361/0.4007, allocations: 3.142 MB / 0.7464 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.4007, allocations: 0 / 0.7464 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4007, allocations: 0 / 0.7464 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.352e-05/0.4007, allocations: 0.5312 kB / 0.7464 GB, free: 6.816 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.003922/0.4047, allocations: 1.995 MB / 0.7483 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.4047, allocations: 10.91 kB / 0.7483 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/0.4073, allocations: 457.6 kB / 0.7488 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.4102, allocations: 1.517 MB / 0.7502 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/0.4103, allocations: 79.41 kB / 0.7503 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.4104, allocations: 106.1 kB / 0.7504 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.4132, allocations: 1.411 MB / 0.7518 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.4132, allocations: 6.344 kB / 0.7518 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.4134, allocations: 46.28 kB / 0.7519 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.4134, allocations: 26.62 kB / 0.7519 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/0.4162, allocations: 1.094 MB / 0.7529 GB, free: 2.199 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.008053/0.4243, allocations: 5.384 MB / 0.7582 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003482/0.4278, allocations: 0.7748 MB / 0.759 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006439/0.4284, allocations: 264.4 kB / 0.7592 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005838/0.429, allocations: 171.7 kB / 0.7594 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.429, allocations: 39.06 kB / 0.7594 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.429, allocations: 0 / 0.7594 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.005276/0.4343, allocations: 1.235 MB / 0.7606 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.4344, allocations: 59.89 kB / 0.7607 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.4364, allocations: 1.228 MB / 0.7619 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.818e-05/0.4364, allocations: 37.7 kB / 0.7619 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006424/0.4371, allocations: 0.7032 MB / 0.7626 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.4373, allocations: 174.5 kB / 0.7628 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.4376, allocations: 178.5 kB / 0.7629 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4377, allocations: 334 kB / 0.7633 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.4388, allocations: 373.5 kB / 0.7636 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.4404, allocations: 0.9808 MB / 0.7646 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.4424, allocations: 0.8899 MB / 0.7654 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.4424, allocations: 8 kB / 0.7654 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003239/0.4457, allocations: 1.165 MB / 0.7666 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.4457, allocations: 15.98 kB / 0.7666 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.4457, allocations: 8 kB / 0.7666 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009128/0.4466, allocations: 212.7 kB / 0.7668 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.4475, allocations: 191.7 kB / 0.767 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009681/0.4484, allocations: 0.7162 MB / 0.7677 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.4499, allocations: 179.1 kB / 0.7679 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-05/0.45, allocations: 39.98 kB / 0.7679 GB, free: 3.922 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.0006087/0.4506, allocations: 365.5 kB / 0.7682 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.4508, allocations: 127.2 kB / 0.7684 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.4535, allocations: 1.125 MB / 0.7695 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.4535, allocations: 11.98 kB / 0.7695 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4535, allocations: 7.125 kB / 0.7695 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.4535, allocations: 3.984 kB / 0.7695 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/0.4589, allocations: 2.177 MB / 0.7716 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.4589, allocations: 4.188 kB / 0.7716 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.4594, allocations: 83.94 kB / 0.7717 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008054/0.4602, allocations: 216.5 kB / 0.7719 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.4602, allocations: 23.92 kB / 0.7719 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.4617, allocations: 0.7717 MB / 0.7727 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4617, allocations: 0 / 0.7727 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/0.4654, allocations: 1.19 MB / 0.7738 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/0.4659, allocations: 244.9 kB / 0.7741 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.4661, allocations: 12 kB / 0.7741 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008332/0.4669, allocations: 67.92 kB / 0.7742 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/0.467, allocations: 44.36 kB / 0.7742 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/0.4671, allocations: 27.98 kB / 0.7742 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00153/0.4686, allocations: 0.8548 MB / 0.7751 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4686, allocations: 0 / 0.7751 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001506/0.4701, allocations: 478.7 kB / 0.7755 GB, free: 11.99 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.0008487/0.4709, allocations: 484.2 kB / 0.776 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002371/0.4733, allocations: 0.8333 MB / 0.7768 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4733, allocations: 0 / 0.7768 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.4747, allocations: 419.4 kB / 0.7772 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.4769, allocations: 472.5 kB / 0.7776 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.481, allocations: 2.241 MB / 0.7798 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.4816, allocations: 0.5823 MB / 0.7804 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000755/0.4824, allocations: 227.6 kB / 0.7806 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.4826, allocations: 96.47 kB / 0.7807 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.4826, allocations: 0 / 0.7807 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of Templates: time 0.04338/0.526, allocations: 24.97 MB / 0.8051 GB, free: 14.15 MB / 0.6387 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: 6.811988987028599] Failed to read output from testmodel.py, exit status != 0: 0.5344534665346146 0.549249616 0.14525171 Calling exit ...