Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.002134/0.002134, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002325/0.002325, allocations: 173.2 kB / 23.23 MB, free: 1.324 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 1.678/1.678, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.245/3.245, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.546e-05/3.705e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.841/0.8411, allocations: 64.62 MB / 1.064 GB, free: 54.35 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02507/0.8661, allocations: 17.49 MB / 1.081 GB, free: 43.73 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003217/0.8693, allocations: 98.59 kB / 1.081 GB, free: 43.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.8719, allocations: 0.8375 MB / 1.082 GB, free: 43.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.009362/0.8813, allocations: 3.089 MB / 1.085 GB, free: 41.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005073/0.8863, allocations: 1.763 MB / 1.087 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.006713/0.893, allocations: 4.023 MB / 1.091 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.8948, allocations: 1.097 MB / 1.092 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005915/0.9007, allocations: 2.547 MB / 1.094 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.9028, allocations: 1.003 MB / 1.095 GB, free: 35.93 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000321/0.9031, allocations: 175.7 kB / 1.096 GB, free: 35.93 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.9063, allocations: 1.175 MB / 1.097 GB, free: 35.56 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004056/0.9067, allocations: 408.2 kB / 1.097 GB, free: 35.28 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009153/0.9077, allocations: 0.6003 MB / 1.098 GB, free: 35 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.006558/0.9142, allocations: 3.142 MB / 1.101 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9142, allocations: 0 / 1.101 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9142, allocations: 0 / 1.101 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.127e-05/0.9143, allocations: 1.094 kB / 1.101 GB, free: 33.86 MB / 0.9948 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.004931/0.9192, allocations: 1.984 MB / 1.103 GB, free: 32.53 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.9193, allocations: 14.95 kB / 1.103 GB, free: 32.53 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.9224, allocations: 460.2 kB / 1.103 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003793/0.9262, allocations: 1.51 MB / 1.105 GB, free: 31.49 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.9263, allocations: 86.72 kB / 1.105 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.9265, allocations: 105.3 kB / 1.105 GB, free: 31.41 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.9296, allocations: 1.416 MB / 1.106 GB, free: 30.59 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.9296, allocations: 5.344 kB / 1.106 GB, free: 30.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.9297, allocations: 43.84 kB / 1.106 GB, free: 30.56 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.9297, allocations: 25.97 kB / 1.106 GB, free: 30.56 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002918/0.9327, allocations: 1.099 MB / 1.107 GB, free: 30.15 MB / 0.9948 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.008251/0.9409, allocations: 5.382 MB / 1.113 GB, free: 26.32 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003373/0.9443, allocations: 0.7666 MB / 1.113 GB, free: 26.08 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/0.9449, allocations: 266.3 kB / 1.114 GB, free: 25.98 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.9455, allocations: 158.4 kB / 1.114 GB, free: 25.95 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.9455, allocations: 42.31 kB / 1.114 GB, free: 25.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=48): time 3.216e-06/0.9455, allocations: 4 kB / 1.114 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48): time 0.005178/0.9507, allocations: 1.237 MB / 1.115 GB, free: 25.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.9508, allocations: 61.39 kB / 1.115 GB, free: 25.43 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/0.9532, allocations: 1.228 MB / 1.116 GB, free: 24.92 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.042e-05/0.9533, allocations: 37.17 kB / 1.116 GB, free: 24.88 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006216/0.9539, allocations: 0.7047 MB / 1.117 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.9541, allocations: 173.7 kB / 1.117 GB, free: 24.18 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/0.9544, allocations: 173.7 kB / 1.117 GB, free: 24.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9545, allocations: 333.6 kB / 1.118 GB, free: 23.78 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.9556, allocations: 364.8 kB / 1.118 GB, free: 23.66 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.9569, allocations: 0.9894 MB / 1.119 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.9588, allocations: 0.8854 MB / 1.12 GB, free: 22.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.9588, allocations: 1.938 kB / 1.12 GB, free: 22.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003052/0.9618, allocations: 1.17 MB / 1.121 GB, free: 21.73 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.9619, allocations: 9 kB / 1.121 GB, free: 21.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.9619, allocations: 11.94 kB / 1.121 GB, free: 21.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009486/0.9628, allocations: 218.3 kB / 1.121 GB, free: 21.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008339/0.9637, allocations: 196.6 kB / 1.121 GB, free: 21.65 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008081/0.9645, allocations: 0.7151 MB / 1.122 GB, free: 21.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.966, allocations: 175.1 kB / 1.122 GB, free: 21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.9661, allocations: 44.62 kB / 1.122 GB, free: 20.99 MB / 0.9948 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.0007042/0.9668, allocations: 363.6 kB / 1.123 GB, free: 20.72 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.967, allocations: 127.3 kB / 1.123 GB, free: 20.65 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.9694, allocations: 1.129 MB / 1.124 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.9694, allocations: 17.03 kB / 1.124 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.9694, allocations: 1.344 kB / 1.124 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.9695, allocations: 2.906 kB / 1.124 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005294/0.9748, allocations: 2.182 MB / 1.126 GB, free: 19.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.9748, allocations: 3.391 kB / 1.126 GB, free: 19.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.9751, allocations: 84.45 kB / 1.126 GB, free: 19.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008091/0.976, allocations: 215.6 kB / 1.126 GB, free: 19.12 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/0.976, allocations: 16.45 kB / 1.126 GB, free: 19.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.9772, allocations: 0.7678 MB / 1.127 GB, free: 18.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.9772, allocations: 6.875 kB / 1.127 GB, free: 18.51 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/0.9806, allocations: 1.192 MB / 1.128 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/0.9811, allocations: 247.3 kB / 1.128 GB, free: 17.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.9813, allocations: 17.33 kB / 1.128 GB, free: 17.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007356/0.982, allocations: 66.23 kB / 1.129 GB, free: 17.79 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.9821, allocations: 45.12 kB / 1.129 GB, free: 17.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.9822, allocations: 25.44 kB / 1.129 GB, free: 17.78 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001576/0.9838, allocations: 0.8501 MB / 1.129 GB, free: 17.43 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9838, allocations: 0 / 1.129 GB, free: 17.43 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002124/0.9859, allocations: 482.5 kB / 1.13 GB, free: 17.3 MB / 0.9948 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.000955/0.9869, allocations: 482.5 kB / 1.13 GB, free: 17.06 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002413/0.9893, allocations: 0.8284 MB / 1.131 GB, free: 16.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9893, allocations: 1 kB / 1.131 GB, free: 16.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.9906, allocations: 427 kB / 1.132 GB, free: 16.68 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.9925, allocations: 449.2 kB / 1.132 GB, free: 16.53 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.9967, allocations: 2.225 MB / 1.134 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008305/0.9976, allocations: 0.5832 MB / 1.135 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000898/0.9985, allocations: 229.9 kB / 1.135 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.9987, allocations: 96.72 kB / 1.135 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of SimCode: time 1.303e-06/0.9987, allocations: 4 kB / 1.135 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of Templates: time 0.04893/1.048, allocations: 24.61 MB / 1.159 GB, free: 7.797 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.286167082376778]