Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001335/0.001335, allocations: 113.3 kB / 17.08 MB, free: 6.016 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.001506/0.001506, allocations: 199 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7467/0.7467, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 64.34 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1702, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.0781/0.2483, allocations: 75.14 MB / 0.7061 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01873/0.2671, allocations: 12.75 MB / 0.7185 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/0.2695, allocations: 67.62 kB / 0.7186 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.272, allocations: 0.8306 MB / 0.7194 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006945/0.279, allocations: 2.467 MB / 0.7218 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.2825, allocations: 1.39 MB / 0.7232 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006023/0.2885, allocations: 4.389 MB / 0.7275 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/0.2912, allocations: 1.433 MB / 0.7289 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004217/0.2954, allocations: 1.619 MB / 0.7305 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.2977, allocations: 1.202 MB / 0.7316 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004901/0.2982, allocations: 163.9 kB / 0.7318 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.3017, allocations: 1.404 MB / 0.7332 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006019/0.3023, allocations: 398.5 kB / 0.7335 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.304, allocations: 0.9099 MB / 0.7344 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005514/0.3095, allocations: 2.844 MB / 0.7372 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3096, allocations: 0 / 0.7372 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3096, allocations: 4 kB / 0.7372 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.405e-05/0.3097, allocations: 0 / 0.7372 GB, free: 9.059 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005027/0.3147, allocations: 2.087 MB / 0.7392 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3147, allocations: 8.031 kB / 0.7392 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.3157, allocations: 234.8 kB / 0.7395 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.3187, allocations: 1.513 MB / 0.7409 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/0.3188, allocations: 74 kB / 0.741 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.319, allocations: 104 kB / 0.7411 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.3212, allocations: 1.104 MB / 0.7422 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.3212, allocations: 4 kB / 0.7422 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.205e-05/0.3213, allocations: 39.94 kB / 0.7422 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.3214, allocations: 24 kB / 0.7423 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.3232, allocations: 0.89 MB / 0.7431 GB, free: 2.828 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.3323/0.6555, allocations: 4.889 MB / 0.7479 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.6571, allocations: 0.6171 MB / 0.7485 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000747/0.6579, allocations: 352.8 kB / 0.7488 GB, free: 108 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005399/0.6584, allocations: 0.8226 MB / 0.7496 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.6585, allocations: 43.84 kB / 0.7497 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.917e-06/0.6585, allocations: 0 / 0.7497 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007768/0.6662, allocations: 1.683 MB / 0.7513 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.6663, allocations: 62.22 kB / 0.7514 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.6688, allocations: 1.225 MB / 0.7526 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.6689, allocations: 43.3 kB / 0.7526 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/0.6695, allocations: 0.6051 MB / 0.7532 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.6697, allocations: 215.8 kB / 0.7534 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.6699, allocations: 153.7 kB / 0.7536 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.67, allocations: 332.7 kB / 0.7539 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007157/0.6708, allocations: 290.1 kB / 0.7542 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008881/0.6717, allocations: 492.8 kB / 0.7546 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.6732, allocations: 0.7074 MB / 0.7553 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6732, allocations: 1.953 kB / 0.7553 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004698/0.6779, allocations: 1.275 MB / 0.7566 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.6779, allocations: 6.5 kB / 0.7566 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.6779, allocations: 4.797 kB / 0.7566 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006616/0.6786, allocations: 138.6 kB / 0.7567 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.6793, allocations: 156.1 kB / 0.7569 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007982/0.6801, allocations: 0.6995 MB / 0.7575 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.6814, allocations: 116.6 kB / 0.7577 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/0.6815, allocations: 34.47 kB / 0.7577 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001236/0.6827, allocations: 0.5589 MB / 0.7582 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009035/0.6836, allocations: 492.7 kB / 0.7587 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001681/0.6853, allocations: 0.7017 MB / 0.7594 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.801e-06/0.6853, allocations: 2.469 kB / 0.7594 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005071/0.6904, allocations: 1.266 MB / 0.7606 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.6905, allocations: 11.53 kB / 0.7606 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6905, allocations: 7.719 kB / 0.7607 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.691, allocations: 135.6 kB / 0.7608 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.6917, allocations: 158.6 kB / 0.7609 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008394/0.6926, allocations: 0.6942 MB / 0.7616 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.6939, allocations: 98.53 kB / 0.7617 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.6941, allocations: 30.44 kB / 0.7617 GB, free: 101.5 MB / 0.5762 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.0003135/0.6944, allocations: 230.8 kB / 0.762 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004074/0.6948, allocations: 131.2 kB / 0.7621 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.6996, allocations: 1.263 MB / 0.7633 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/0.6997, allocations: 7.188 kB / 0.7633 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.6997, allocations: 6.875 kB / 0.7633 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004099/0.7038, allocations: 1.1 MB / 0.7644 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007806/0.7116, allocations: 2.623 MB / 0.767 GB, free: 98.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.7117, allocations: 3.75 kB / 0.767 GB, free: 98.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.7122, allocations: 119.2 kB / 0.7671 GB, free: 98.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/0.7128, allocations: 127.9 kB / 0.7672 GB, free: 98.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.7128, allocations: 17.19 kB / 0.7672 GB, free: 98.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004711/0.7176, allocations: 2.586 MB / 0.7697 GB, free: 96.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.7176, allocations: 2.75 kB / 0.7697 GB, free: 96.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005491/0.7231, allocations: 1.706 MB / 0.7714 GB, free: 95.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/0.724, allocations: 302.6 kB / 0.7717 GB, free: 95.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/0.7245, allocations: 26.84 kB / 0.7717 GB, free: 95.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.7256, allocations: 56.41 kB / 0.7718 GB, free: 95.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.7258, allocations: 55.91 kB / 0.7718 GB, free: 95.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/0.7259, allocations: 35.62 kB / 0.7719 GB, free: 95.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001684/0.7275, allocations: 0.8803 MB / 0.7727 GB, free: 94.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7276, allocations: 0 / 0.7727 GB, free: 94.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002661/0.7302, allocations: 0.718 MB / 0.7734 GB, free: 94.48 MB / 0.5762 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.001157/0.7314, allocations: 458.8 kB / 0.7739 GB, free: 94.28 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002795/0.7342, allocations: 1.118 MB / 0.775 GB, free: 93.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.7342, allocations: 0 / 0.775 GB, free: 93.78 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.7357, allocations: 0.5667 MB / 0.7755 GB, free: 93.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/0.7395, allocations: 0.8008 MB / 0.7763 GB, free: 93.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.7437, allocations: 2.29 MB / 0.7785 GB, free: 91.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/0.7444, allocations: 1.165 MB / 0.7797 GB, free: 90.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.7447, allocations: 107.4 kB / 0.7798 GB, free: 89.91 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.7447, allocations: 0 / 0.7798 GB, free: 89.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.03466/0.7794, allocations: 31.09 MB / 0.8101 GB, free: 59.04 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)