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.001113/0.001113, allocations: 112.2 kB / 17.04 MB, free: 6.074 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.001227/0.001227, allocations: 196 kB / 17.98 MB, free: 5.16 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.256/1.256, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6793/0.6793, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3375, allocations: 76.15 MB / 0.5576 GB, free: 36.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.06766/0.4052, allocations: 75.11 MB / 0.6309 GB, free: 9.281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.4236, allocations: 12.76 MB / 0.6434 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0032/0.4269, allocations: 71.56 kB / 0.6434 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.4293, allocations: 0.8228 MB / 0.6443 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007361/0.4367, allocations: 2.463 MB / 0.6467 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.4406, allocations: 1.39 MB / 0.648 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006739/0.4474, allocations: 4.4 MB / 0.6523 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.4497, allocations: 1.435 MB / 0.6537 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.4538, allocations: 1.623 MB / 0.6553 GB, free: 240 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.4558, allocations: 1.198 MB / 0.6565 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002422/0.456, allocations: 168 kB / 0.6566 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.4589, allocations: 1.404 MB / 0.658 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004105/0.4593, allocations: 394.6 kB / 0.6584 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.4604, allocations: 0.906 MB / 0.6593 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.4643, allocations: 2.867 MB / 0.6621 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4643, allocations: 0 / 0.6621 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.235e-06/0.4643, allocations: 0 / 0.6621 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.986e-05/0.4643, allocations: 4 kB / 0.6621 GB, free: 9.289 MB / 0.4981 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.003547/0.4679, allocations: 2.079 MB / 0.6641 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4679, allocations: 12.03 kB / 0.6641 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007768/0.4687, allocations: 226.8 kB / 0.6643 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.4712, allocations: 1.532 MB / 0.6658 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.4713, allocations: 81.94 kB / 0.6659 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.4714, allocations: 103.9 kB / 0.666 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.4732, allocations: 1.1 MB / 0.6671 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.4733, allocations: 0 / 0.6671 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.4734, allocations: 36 kB / 0.6671 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.4734, allocations: 27.98 kB / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.4751, allocations: 0.89 MB / 0.668 GB, free: 3.055 MB / 0.4981 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.00623/0.4814, allocations: 4.889 MB / 0.6728 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.4827, allocations: 0.6275 MB / 0.6734 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/0.4834, allocations: 348.3 kB / 0.6737 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/0.484, allocations: 0.8316 MB / 0.6745 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.4841, allocations: 39.12 kB / 0.6746 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.545e-06/0.4841, allocations: 0 / 0.6746 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006629/0.4907, allocations: 1.674 MB / 0.6762 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.4908, allocations: 63.91 kB / 0.6763 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.4927, allocations: 1.222 MB / 0.6775 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.4929, allocations: 41.7 kB / 0.6775 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000513/0.4934, allocations: 0.6065 MB / 0.6781 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.4936, allocations: 212.9 kB / 0.6783 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.4939, allocations: 162.5 kB / 0.6784 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.494, allocations: 333.9 kB / 0.6788 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006435/0.4947, allocations: 292.7 kB / 0.679 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008119/0.4955, allocations: 492.5 kB / 0.6795 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.4969, allocations: 0.7128 MB / 0.6802 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.4969, allocations: 0 / 0.6802 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004467/0.5014, allocations: 1.277 MB / 0.6815 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.5014, allocations: 7.938 kB / 0.6815 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5014, allocations: 4 kB / 0.6815 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006247/0.5021, allocations: 133.1 kB / 0.6816 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.5027, allocations: 159.8 kB / 0.6817 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008603/0.5036, allocations: 0.6966 MB / 0.6824 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.5047, allocations: 127.1 kB / 0.6826 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.5048, allocations: 31.94 kB / 0.6826 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001105/0.5059, allocations: 0.5487 MB / 0.6831 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008139/0.5068, allocations: 491.9 kB / 0.6836 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00132/0.5081, allocations: 0.709 MB / 0.6843 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.5081, allocations: 0 / 0.6843 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004439/0.5125, allocations: 1.261 MB / 0.6855 GB, free: 248 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5126, allocations: 8 kB / 0.6855 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5126, allocations: 4 kB / 0.6855 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005099/0.5131, allocations: 136.8 kB / 0.6857 GB, free: 96 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.5137, allocations: 151.8 kB / 0.6858 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00074/0.5144, allocations: 0.7006 MB / 0.6865 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.5155, allocations: 99.52 kB / 0.6866 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.5156, allocations: 31.98 kB / 0.6866 GB, free: 15.09 MB / 0.5294 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.0002659/0.5159, allocations: 228.9 kB / 0.6868 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.5161, allocations: 138.2 kB / 0.687 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/0.5204, allocations: 1.256 MB / 0.6882 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.5204, allocations: 11.98 kB / 0.6882 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5204, allocations: 0 / 0.6882 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003735/0.5241, allocations: 1.099 MB / 0.6893 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006106/0.5302, allocations: 2.61 MB / 0.6918 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.5303, allocations: 4 kB / 0.6918 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.5307, allocations: 116.2 kB / 0.6919 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/0.5312, allocations: 132.7 kB / 0.6921 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.5313, allocations: 23.88 kB / 0.6921 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/0.536, allocations: 2.571 MB / 0.6946 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/0.536, allocations: 19.92 kB / 0.6946 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005155/0.5412, allocations: 1.699 MB / 0.6963 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000747/0.5419, allocations: 307.2 kB / 0.6966 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.5421, allocations: 19.98 kB / 0.6966 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/0.5429, allocations: 51.94 kB / 0.6966 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.5431, allocations: 60.31 kB / 0.6967 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.5432, allocations: 39.97 kB / 0.6967 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001274/0.5444, allocations: 0.8777 MB / 0.6976 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5444, allocations: 0 / 0.6976 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001893/0.5463, allocations: 0.7174 MB / 0.6983 GB, free: 2.707 MB / 0.5294 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.0009284/0.5473, allocations: 466.2 kB / 0.6987 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.5498, allocations: 1.121 MB / 0.6998 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5498, allocations: 0 / 0.6998 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.5512, allocations: 0.5565 MB / 0.7004 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/0.5542, allocations: 0.7878 MB / 0.7011 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.5578, allocations: 2.261 MB / 0.7033 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/0.5586, allocations: 1.176 MB / 0.7045 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001034/0.5596, allocations: 307 kB / 0.7048 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.5599, allocations: 107.4 kB / 0.7049 GB, free: 11.86 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.5599, allocations: 0 / 0.7049 GB, free: 11.86 MB / 0.545 GB Notification: Performance of Templates: time 0.05247/0.6124, allocations: 32.09 MB / 0.7362 GB, free: 12.11 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)