Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, 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.002363/0.002363, allocations: 186.9 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.646/1.646, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.579/1.579, allocations: 251.7 MB / 0.5089 GB, free: 3.336 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.001305/0.001305, allocations: 59.91 kB / 0.6217 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6093/0.6106, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07649/0.6872, allocations: 74.54 MB / 0.7968 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01998/0.7072, allocations: 12.5 MB / 0.809 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003154/0.7104, allocations: 55.62 kB / 0.809 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002867/0.7134, allocations: 0.7189 MB / 0.8097 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007508/0.7209, allocations: 2.281 MB / 0.812 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003868/0.7248, allocations: 1.25 MB / 0.8132 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006322/0.7311, allocations: 4.361 MB / 0.8174 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/0.734, allocations: 1.41 MB / 0.8188 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004529/0.7386, allocations: 1.638 MB / 0.8204 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/0.7409, allocations: 1.229 MB / 0.8216 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007151/0.7416, allocations: 160 kB / 0.8218 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004413/0.7461, allocations: 1.419 MB / 0.8232 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009674/0.747, allocations: 402.6 kB / 0.8235 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002105/0.7492, allocations: 0.8943 MB / 0.8244 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005925/0.7551, allocations: 2.836 MB / 0.8272 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.7551, allocations: 0 / 0.8272 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7551, allocations: 0 / 0.8272 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.298e-05/0.7552, allocations: 0 / 0.8272 GB, free: 3.082 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00439/0.7596, allocations: 2.067 MB / 0.8292 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.7596, allocations: 8.031 kB / 0.8292 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008319/0.7605, allocations: 238.8 kB / 0.8294 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.7629, allocations: 1.47 MB / 0.8309 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/0.763, allocations: 82 kB / 0.8309 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.7631, allocations: 100 kB / 0.831 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.7651, allocations: 1.096 MB / 0.8321 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.7651, allocations: 0 / 0.8321 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/0.7652, allocations: 40 kB / 0.8322 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.7652, allocations: 28 kB / 0.8322 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.767, allocations: 0.89 MB / 0.833 GB, free: 12.91 MB / 0.6544 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.005619/0.7726, allocations: 4.888 MB / 0.8378 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.774, allocations: 0.6194 MB / 0.8384 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.7746, allocations: 351.1 kB / 0.8388 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/0.7753, allocations: 0.8238 MB / 0.8396 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.7753, allocations: 51.05 kB / 0.8396 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.435e-06/0.7753, allocations: 7.938 kB / 0.8396 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.00667/0.782, allocations: 1.674 MB / 0.8413 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.7821, allocations: 59.95 kB / 0.8413 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.7836, allocations: 1.198 MB / 0.8425 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.7838, allocations: 45.7 kB / 0.8425 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.7842, allocations: 0.6025 MB / 0.8431 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.7845, allocations: 224.8 kB / 0.8433 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.7847, allocations: 150.6 kB / 0.8435 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7848, allocations: 338 kB / 0.8438 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/0.7855, allocations: 288.6 kB / 0.8441 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008054/0.7863, allocations: 0.492 MB / 0.8446 GB, free: 488 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.7876, allocations: 0.7168 MB / 0.8453 GB, free: 15.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7877, allocations: 0 / 0.8453 GB, free: 15.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004428/0.7921, allocations: 1.273 MB / 0.8465 GB, free: 14.43 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.7921, allocations: 4 kB / 0.8465 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7921, allocations: 8.375 kB / 0.8465 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/0.7927, allocations: 140.7 kB / 0.8466 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/0.7933, allocations: 155.8 kB / 0.8468 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007943/0.7941, allocations: 0.6928 MB / 0.8475 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.7953, allocations: 163 kB / 0.8476 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/0.7954, allocations: 39.97 kB / 0.8477 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001066/0.7965, allocations: 0.5488 MB / 0.8482 GB, free: 12.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007655/0.7973, allocations: 498.9 kB / 0.8487 GB, free: 12.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001261/0.7986, allocations: 0.7088 MB / 0.8494 GB, free: 11.34 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.7986, allocations: 0 / 0.8494 GB, free: 11.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004405/0.803, allocations: 1.257 MB / 0.8506 GB, free: 10.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.803, allocations: 4 kB / 0.8506 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.803, allocations: 4 kB / 0.8506 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005055/0.8035, allocations: 145.1 kB / 0.8507 GB, free: 9.914 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.8041, allocations: 163.7 kB / 0.8509 GB, free: 9.754 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007409/0.8049, allocations: 0.6889 MB / 0.8516 GB, free: 9.039 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.8061, allocations: 143.5 kB / 0.8517 GB, free: 8.898 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.8062, allocations: 32 kB / 0.8517 GB, free: 8.867 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002642/0.8065, allocations: 228.1 kB / 0.8519 GB, free: 8.637 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.8068, allocations: 138.2 kB / 0.8521 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/0.8113, allocations: 1.263 MB / 0.8533 GB, free: 7.219 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.8113, allocations: 4 kB / 0.8533 GB, free: 7.215 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.8113, allocations: 7.938 kB / 0.8533 GB, free: 7.207 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003921/0.8153, allocations: 1.103 MB / 0.8544 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007277/0.8226, allocations: 2.582 MB / 0.8569 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.8226, allocations: 0 / 0.8569 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.8231, allocations: 112.3 kB / 0.857 GB, free: 3.262 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.8236, allocations: 136.7 kB / 0.8572 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.746e-05/0.8237, allocations: 23.92 kB / 0.8572 GB, free: 3.102 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005036/0.8288, allocations: 2.579 MB / 0.8597 GB, free: 380 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.8288, allocations: 15.94 kB / 0.8597 GB, free: 364 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005338/0.8342, allocations: 1.687 MB / 0.8614 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.835, allocations: 307.1 kB / 0.8617 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/0.8354, allocations: 23.98 kB / 0.8617 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.8365, allocations: 71.98 kB / 0.8618 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.8366, allocations: 68.22 kB / 0.8618 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.8367, allocations: 27.98 kB / 0.8618 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001412/0.8381, allocations: 0.8697 MB / 0.8627 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8381, allocations: 0 / 0.8627 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001985/0.8401, allocations: 0.7095 MB / 0.8634 GB, free: 12.51 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009343/0.841, allocations: 440.4 kB / 0.8638 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00276/0.8438, allocations: 1.156 MB / 0.8649 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.8438, allocations: 5 kB / 0.8649 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.8453, allocations: 0.5564 MB / 0.8655 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/0.8488, allocations: 0.8159 MB / 0.8663 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.8528, allocations: 2.746 MB / 0.869 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/0.8536, allocations: 1.168 MB / 0.8701 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001336/0.855, allocations: 314.9 kB / 0.8704 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.8553, allocations: 103.4 kB / 0.8705 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of SimCode: time 1.032e-06/0.8553, allocations: 0 / 0.8705 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of Templates: time 0.04881/0.9041, allocations: 31.62 MB / 0.9014 GB, free: 5.922 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)