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.001538/0.001538, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001945/0.001945, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.797 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.8935/0.8935, allocations: 134 MB / 446.4 MB, free: 9.906 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: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [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.002081/0.002081, allocations: 70.64 kB / 0.619 GB, free: 6.383 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2216, allocations: 85.9 MB / 0.7028 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.5393/0.7609, allocations: 65.02 MB / 0.7663 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02527/0.7862, allocations: 17.54 MB / 0.7835 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003868/0.7901, allocations: 94.94 kB / 0.7836 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.7931, allocations: 0.8276 MB / 0.7844 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009997/0.8031, allocations: 3.03 MB / 0.7873 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005677/0.8088, allocations: 1.69 MB / 0.789 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006926/0.8157, allocations: 4.071 MB / 0.793 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.8181, allocations: 1.141 MB / 0.7941 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00479/0.8229, allocations: 1.869 MB / 0.7959 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.8257, allocations: 1.155 MB / 0.797 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004343/0.8261, allocations: 175.6 kB / 0.7972 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003574/0.8297, allocations: 1.16 MB / 0.7983 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.83, allocations: 395.2 kB / 0.7987 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.8314, allocations: 0.7228 MB / 0.7994 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005745/0.8372, allocations: 3.108 MB / 0.8024 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8372, allocations: 7.938 kB / 0.8024 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8372, allocations: 0 / 0.8024 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.771e-05/0.8372, allocations: 3.984 kB / 0.8024 GB, free: 13.69 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.003951/0.8412, allocations: 2.006 MB / 0.8044 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.8412, allocations: 12.81 kB / 0.8044 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.8434, allocations: 456.2 kB / 0.8049 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/0.8465, allocations: 1.509 MB / 0.8063 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.775e-05/0.8465, allocations: 78.12 kB / 0.8064 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.8467, allocations: 109.6 kB / 0.8065 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.8493, allocations: 1.419 MB / 0.8079 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.8493, allocations: 7.094 kB / 0.8079 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/0.8494, allocations: 43.16 kB / 0.8079 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.8494, allocations: 25.62 kB / 0.808 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.8521, allocations: 1.105 MB / 0.809 GB, free: 9.074 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.008146/0.8602, allocations: 5.396 MB / 0.8143 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.8632, allocations: 0.7677 MB / 0.8151 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/0.8638, allocations: 275.7 kB / 0.8153 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005245/0.8643, allocations: 154.5 kB / 0.8155 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.8644, allocations: 38 kB / 0.8155 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 3.026e-06/0.8644, allocations: 0 / 0.8155 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004815/0.8692, allocations: 1.236 MB / 0.8167 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.8693, allocations: 57.38 kB / 0.8168 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.8713, allocations: 1.221 MB / 0.818 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.062e-05/0.8714, allocations: 37.7 kB / 0.818 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006657/0.8721, allocations: 0.711 MB / 0.8187 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.8723, allocations: 182.5 kB / 0.8189 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.8726, allocations: 174.5 kB / 0.819 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.8728, allocations: 333.9 kB / 0.8194 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.8738, allocations: 369.7 kB / 0.8197 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.8754, allocations: 0.9876 MB / 0.8207 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.8774, allocations: 0.8936 MB / 0.8215 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.8774, allocations: 7.938 kB / 0.8216 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003237/0.8806, allocations: 1.162 MB / 0.8227 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.8807, allocations: 8 kB / 0.8227 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.8807, allocations: 8 kB / 0.8227 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/0.8816, allocations: 221.5 kB / 0.8229 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.8824, allocations: 195.7 kB / 0.8231 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.8835, allocations: 0.7278 MB / 0.8238 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.885, allocations: 167.5 kB / 0.824 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.8851, allocations: 47.97 kB / 0.824 GB, free: 11.96 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.0007902/0.8859, allocations: 353.6 kB / 0.8244 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.8861, allocations: 123.2 kB / 0.8245 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.8887, allocations: 1.141 MB / 0.8256 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/0.8887, allocations: 11.98 kB / 0.8256 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8888, allocations: 0 / 0.8256 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.8888, allocations: 0 / 0.8256 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/0.8943, allocations: 2.193 MB / 0.8277 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.8943, allocations: 0 / 0.8277 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.8947, allocations: 87.88 kB / 0.8278 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007549/0.8955, allocations: 208.6 kB / 0.828 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.8955, allocations: 16 kB / 0.828 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.8968, allocations: 0.7748 MB / 0.8288 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8969, allocations: 3.938 kB / 0.8288 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/0.9003, allocations: 1.194 MB / 0.83 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/0.9009, allocations: 238.9 kB / 0.8302 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.9011, allocations: 15.94 kB / 0.8302 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.9019, allocations: 67.92 kB / 0.8303 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.902, allocations: 44.42 kB / 0.8303 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.902, allocations: 23.98 kB / 0.8303 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001563/0.9036, allocations: 0.8471 MB / 0.8312 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9036, allocations: 7.938 kB / 0.8312 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001594/0.9052, allocations: 474.7 kB / 0.8316 GB, free: 4.051 MB / 0.5919 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.0008502/0.906, allocations: 457.9 kB / 0.8321 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002247/0.9083, allocations: 0.8287 MB / 0.8329 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9083, allocations: 4.312 kB / 0.8329 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.9096, allocations: 427 kB / 0.8333 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.9117, allocations: 479.8 kB / 0.8337 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.9161, allocations: 2.254 MB / 0.8359 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007088/0.9168, allocations: 0.5823 MB / 0.8365 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009636/0.9177, allocations: 229.2 kB / 0.8367 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.918, allocations: 95.41 kB / 0.8368 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.918, allocations: 0 / 0.8368 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.04809/0.9661, allocations: 27.14 MB / 0.8633 GB, free: 3.91 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.470053529366851] Failed to read output from testmodel.py, exit status != 0: 0.9746719840914011 0.990570246 0.14997827600000002 Calling exit ...