Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 194.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.593/1.593, allocations: 251.6 MB / 0.5089 GB, free: 3.301 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.89 kB / 0.6217 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5765/0.5779, allocations: 104.7 MB / 0.724 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.0587/0.6366, allocations: 60.72 MB / 0.7833 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.655, allocations: 11.78 MB / 0.7948 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/0.6582, allocations: 55.62 kB / 0.7948 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.6606, allocations: 0.5828 MB / 0.7954 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006839/0.6674, allocations: 1.811 MB / 0.7972 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.6712, allocations: 1.101 MB / 0.7982 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005144/0.6763, allocations: 3.096 MB / 0.8013 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.6784, allocations: 1.088 MB / 0.8023 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004226/0.6826, allocations: 1.325 MB / 0.8036 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.6845, allocations: 0.9373 MB / 0.8045 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.6847, allocations: 120 kB / 0.8046 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/0.688, allocations: 1.431 MB / 0.806 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.6884, allocations: 294.9 kB / 0.8063 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009872/0.6894, allocations: 0.6997 MB / 0.807 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004129/0.6935, allocations: 2.298 MB / 0.8093 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.6935, allocations: 0 / 0.8093 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6936, allocations: 0 / 0.8093 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.6936, allocations: 0 / 0.8093 GB, free: 5.535 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003302/0.6969, allocations: 1.726 MB / 0.8109 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.697, allocations: 8.031 kB / 0.8109 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.6991, allocations: 414.8 kB / 0.8113 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.7012, allocations: 1.132 MB / 0.8125 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.7016, allocations: 117.9 kB / 0.8126 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.7017, allocations: 80 kB / 0.8126 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.7037, allocations: 0.9761 MB / 0.8136 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.7037, allocations: 0 / 0.8136 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.7038, allocations: 36 kB / 0.8136 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.7038, allocations: 16 kB / 0.8136 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.706, allocations: 0.8781 MB / 0.8145 GB, free: 4 kB / 0.6231 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.006562/0.7125, allocations: 4.592 MB / 0.819 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.7159, allocations: 0.829 MB / 0.8198 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/0.7167, allocations: 310 kB / 0.8201 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000775/0.7174, allocations: 0.9107 MB / 0.821 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.7175, allocations: 46.88 kB / 0.821 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.985e-06/0.7175, allocations: 0 / 0.821 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.007198/0.7247, allocations: 1.807 MB / 0.8228 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.7248, allocations: 55.84 kB / 0.8228 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.7266, allocations: 1.06 MB / 0.8239 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/0.7267, allocations: 41.7 kB / 0.8239 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/0.7271, allocations: 0.5236 MB / 0.8244 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.7272, allocations: 165.6 kB / 0.8246 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.7275, allocations: 130.1 kB / 0.8247 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7276, allocations: 326 kB / 0.825 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000832/0.7284, allocations: 322.9 kB / 0.8253 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.7294, allocations: 0.4962 MB / 0.8258 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.731, allocations: 0.6981 MB / 0.8265 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.731, allocations: 3.938 kB / 0.8265 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002688/0.7337, allocations: 1.011 MB / 0.8275 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.7338, allocations: 4 kB / 0.8275 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.7338, allocations: 7.938 kB / 0.8275 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.735, allocations: 320 kB / 0.8278 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.7356, allocations: 127.8 kB / 0.8279 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.737, allocations: 0.9151 MB / 0.8288 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.7384, allocations: 175.2 kB / 0.829 GB, free: 392 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.521e-05/0.7385, allocations: 31.98 kB / 0.829 GB, free: 360 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001233/0.7397, allocations: 0.5166 MB / 0.8295 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000959/0.7407, allocations: 0.504 MB / 0.83 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00154/0.7422, allocations: 0.6824 MB / 0.8307 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.7422, allocations: 0 / 0.8307 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002572/0.7448, allocations: 1.003 MB / 0.8317 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.7448, allocations: 10.17 kB / 0.8317 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.7449, allocations: 4 kB / 0.8317 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.7459, allocations: 312.8 kB / 0.832 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005394/0.7465, allocations: 127.8 kB / 0.8321 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.7479, allocations: 0.9058 MB / 0.833 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.7493, allocations: 161.9 kB / 0.8331 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/0.7494, allocations: 27.98 kB / 0.8332 GB, free: 11.94 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003145/0.7497, allocations: 218.3 kB / 0.8334 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.75, allocations: 110.7 kB / 0.8335 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.7526, allocations: 0.9986 MB / 0.8344 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.7526, allocations: 7.984 kB / 0.8345 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.7526, allocations: 0 / 0.8345 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.7527, allocations: 0 / 0.8345 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006252/0.7589, allocations: 2.36 MB / 0.8368 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.759, allocations: 4 kB / 0.8368 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.7593, allocations: 67.88 kB / 0.8368 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009597/0.7602, allocations: 304.9 kB / 0.8371 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.7603, allocations: 19.98 kB / 0.8371 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.7617, allocations: 0.9424 MB / 0.8381 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7617, allocations: 0 / 0.8381 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.7653, allocations: 1.196 MB / 0.8392 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006581/0.7659, allocations: 267.5 kB / 0.8395 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/0.7663, allocations: 16 kB / 0.8395 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.7673, allocations: 99.77 kB / 0.8396 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.7675, allocations: 39.89 kB / 0.8396 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/0.7675, allocations: 31.91 kB / 0.8397 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001341/0.7689, allocations: 0.7352 MB / 0.8404 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7689, allocations: 0 / 0.8404 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001993/0.7709, allocations: 0.5614 MB / 0.8409 GB, free: 3.773 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/0.772, allocations: 374.8 kB / 0.8413 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003322/0.7753, allocations: 1.163 MB / 0.8424 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7753, allocations: 0 / 0.8424 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009328/0.7763, allocations: 375 kB / 0.8428 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.7791, allocations: 0.5271 MB / 0.8433 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/0.7849, allocations: 2.453 MB / 0.8457 GB, free: 14.86 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007292/0.7856, allocations: 1.066 MB / 0.8467 GB, free: 13.76 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00129/0.7869, allocations: 224.9 kB / 0.8469 GB, free: 13.54 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.7873, allocations: 83.41 kB / 0.847 GB, free: 13.46 MB / 0.67 GB Notification: Performance of SimCode: time 1.343e-06/0.7873, allocations: 0 / 0.847 GB, free: 13.46 MB / 0.67 GB Notification: Performance of Templates: time 0.04422/0.8315, allocations: 25.05 MB / 0.8715 GB, free: 4.734 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)