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.0009106/0.0009106, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006241/0.006241, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.548/1.548, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.572/1.572, allocations: 252 MB / 0.5105 GB, free: 4.586 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.0005733/0.0005735, allocations: 20 kB / 0.6249 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6477/0.6483, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06276/0.7111, allocations: 59.75 MB / 0.7871 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.7291, allocations: 11.79 MB / 0.7986 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/0.732, allocations: 51.62 kB / 0.7986 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.734, allocations: 0.5555 MB / 0.7992 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006035/0.74, allocations: 1.777 MB / 0.8009 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.7433, allocations: 1.093 MB / 0.802 GB, free: 0 / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005273/0.7485, allocations: 3.894 MB / 0.8058 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.75, allocations: 0.898 MB / 0.8067 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.7526, allocations: 1.108 MB / 0.8077 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.754, allocations: 0.8593 MB / 0.8086 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.7541, allocations: 44 kB / 0.8086 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.757, allocations: 1.298 MB / 0.8099 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.7573, allocations: 218.9 kB / 0.8101 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00081/0.7581, allocations: 0.6311 MB / 0.8107 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.7611, allocations: 2.192 MB / 0.8129 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7611, allocations: 0 / 0.8129 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7612, allocations: 3.938 kB / 0.8129 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.7612, allocations: 0 / 0.8129 GB, free: 4.785 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.002781/0.764, allocations: 1.505 MB / 0.8143 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.764, allocations: 8.031 kB / 0.8143 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.7662, allocations: 466.8 kB / 0.8148 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.7683, allocations: 1.144 MB / 0.8159 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/0.7686, allocations: 125.9 kB / 0.816 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.7688, allocations: 80 kB / 0.8161 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.7708, allocations: 1.007 MB / 0.8171 GB, free: 316 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.7709, allocations: 7.938 kB / 0.8171 GB, free: 308 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.771, allocations: 32 kB / 0.8171 GB, free: 276 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.771, allocations: 23.98 kB / 0.8171 GB, free: 252 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.7733, allocations: 0.9173 MB / 0.818 GB, free: 15.33 MB / 0.6387 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.006965/0.7803, allocations: 4.635 MB / 0.8226 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003664/0.784, allocations: 0.9384 MB / 0.8235 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008231/0.7848, allocations: 337.9 kB / 0.8238 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007378/0.7856, allocations: 0.9029 MB / 0.8247 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.7856, allocations: 43 kB / 0.8247 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.7856, allocations: 0 / 0.8247 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.007738/0.7934, allocations: 2.002 MB / 0.8267 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.7934, allocations: 59.84 kB / 0.8267 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.795, allocations: 1.06 MB / 0.8278 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.7951, allocations: 37.7 kB / 0.8278 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/0.7955, allocations: 0.5273 MB / 0.8283 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.7957, allocations: 161.6 kB / 0.8285 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.7958, allocations: 57.69 kB / 0.8285 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7959, allocations: 330 kB / 0.8288 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009236/0.7969, allocations: 332.9 kB / 0.8292 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.7979, allocations: 0.5352 MB / 0.8297 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.7997, allocations: 0.741 MB / 0.8304 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.7997, allocations: 0 / 0.8304 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002756/0.8024, allocations: 1.081 MB / 0.8315 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.8026, allocations: 199.5 kB / 0.8317 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.8026, allocations: 4 kB / 0.8317 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.8039, allocations: 336.6 kB / 0.832 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.8045, allocations: 131.8 kB / 0.8321 GB, free: 104 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.806, allocations: 0.9464 MB / 0.833 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.8074, allocations: 191.2 kB / 0.8332 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.8075, allocations: 27.98 kB / 0.8332 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.8075, allocations: 8 kB / 0.8332 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002578/0.8101, allocations: 0.94 MB / 0.8342 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.8101, allocations: 4 kB / 0.8342 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.8112, allocations: 332.3 kB / 0.8345 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.8118, allocations: 135.8 kB / 0.8346 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.8132, allocations: 0.9347 MB / 0.8355 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.8144, allocations: 167.4 kB / 0.8357 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.8145, allocations: 31.98 kB / 0.8357 GB, free: 12.34 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.0005599/0.8151, allocations: 360.8 kB / 0.8361 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.8153, allocations: 106.7 kB / 0.8362 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.818, allocations: 1.034 MB / 0.8372 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.818, allocations: 11.92 kB / 0.8372 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.818, allocations: 0 / 0.8372 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.818, allocations: 0 / 0.8372 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006417/0.8245, allocations: 2.473 MB / 0.8396 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.8245, allocations: 7.938 kB / 0.8396 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.8248, allocations: 84.16 kB / 0.8397 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.8259, allocations: 320.5 kB / 0.84 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.826, allocations: 19.98 kB / 0.84 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.8275, allocations: 0.9772 MB / 0.841 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.8275, allocations: 7.938 kB / 0.841 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/0.8315, allocations: 1.286 MB / 0.8422 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006795/0.8322, allocations: 291.4 kB / 0.8425 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.8324, allocations: 8 kB / 0.8425 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.8335, allocations: 111.8 kB / 0.8426 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.8336, allocations: 35.95 kB / 0.8427 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.8337, allocations: 23.98 kB / 0.8427 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001428/0.8351, allocations: 0.7508 MB / 0.8434 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8351, allocations: 0 / 0.8434 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001914/0.837, allocations: 0.5536 MB / 0.844 GB, free: 3.699 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.0009272/0.838, allocations: 380.8 kB / 0.8443 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003481/0.8415, allocations: 1.214 MB / 0.8455 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8415, allocations: 0 / 0.8455 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.8425, allocations: 391 kB / 0.8459 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/0.8457, allocations: 0.5283 MB / 0.8464 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005998/0.8517, allocations: 2.557 MB / 0.8489 GB, free: 14.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.8525, allocations: 1.07 MB / 0.8499 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001106/0.8536, allocations: 224.8 kB / 0.8501 GB, free: 13.26 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.8539, allocations: 79.42 kB / 0.8502 GB, free: 13.19 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.8539, allocations: 4 kB / 0.8502 GB, free: 13.18 MB / 0.67 GB Notification: Performance of Templates: time 0.04301/0.8969, allocations: 24.37 MB / 0.874 GB, free: 5.117 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: