Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 107 kB / 16.27 MB, free: 6.316 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.001519/0.001519, allocations: 187 kB / 17.19 MB, free: 5.93 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7756/0.7756, allocations: 126.1 MB / 417.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 67.91 kB / 0.495 GB, free: 3.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4416, allocations: 78.69 MB / 0.5718 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05096/0.4926, allocations: 61.15 MB / 0.6315 GB, free: 9.387 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01692/0.5096, allocations: 11.98 MB / 0.6432 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.5117, allocations: 59.62 kB / 0.6433 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.5138, allocations: 0.6947 MB / 0.644 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005198/0.519, allocations: 1.957 MB / 0.6459 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.5221, allocations: 1.204 MB / 0.647 GB, free: 9.457 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003954/0.526, allocations: 3.075 MB / 0.65 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.5278, allocations: 1.098 MB / 0.6511 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.5309, allocations: 1.33 MB / 0.6524 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.5325, allocations: 0.8944 MB / 0.6533 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003478/0.5329, allocations: 116 kB / 0.6534 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.5361, allocations: 1.435 MB / 0.6548 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005869/0.5367, allocations: 282.9 kB / 0.6551 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.5384, allocations: 0.6958 MB / 0.6558 GB, free: 496 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005258/0.5436, allocations: 2.267 MB / 0.658 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5436, allocations: 8 kB / 0.658 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5437, allocations: 0 / 0.658 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.239e-05/0.5437, allocations: 0 / 0.658 GB, free: 14.2 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003654/0.5474, allocations: 1.715 MB / 0.6597 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.5474, allocations: 12.03 kB / 0.6597 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.5497, allocations: 410.8 kB / 0.6601 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.5519, allocations: 1.093 MB / 0.6611 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004749/0.5524, allocations: 129.9 kB / 0.6612 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.5526, allocations: 76 kB / 0.6613 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.5556, allocations: 1.005 MB / 0.6623 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.5557, allocations: 7.984 kB / 0.6623 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.5558, allocations: 35.94 kB / 0.6623 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.5558, allocations: 20 kB / 0.6624 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003345/0.5592, allocations: 0.8625 MB / 0.6632 GB, free: 8.668 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.009604/0.5688, allocations: 5.26 MB / 0.6683 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004783/0.5736, allocations: 0.7998 MB / 0.6691 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.5747, allocations: 309.4 kB / 0.6694 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008683/0.5756, allocations: 0.9102 MB / 0.6703 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.5756, allocations: 34.56 kB / 0.6703 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 3.387e-06/0.5756, allocations: 4 kB / 0.6703 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.0119/0.5876, allocations: 1.91 MB / 0.6722 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.5876, allocations: 55.41 kB / 0.6723 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.5902, allocations: 1.072 MB / 0.6733 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-05/0.5903, allocations: 37.7 kB / 0.6733 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/0.5909, allocations: 0.5389 MB / 0.6739 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.5911, allocations: 149.8 kB / 0.674 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.5914, allocations: 130.2 kB / 0.6741 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5916, allocations: 330 kB / 0.6744 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.5929, allocations: 319.3 kB / 0.6748 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.5945, allocations: 0.5422 MB / 0.6753 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.5969, allocations: 0.7252 MB / 0.676 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.5969, allocations: 4 kB / 0.676 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00392/0.6009, allocations: 1.024 MB / 0.677 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.6009, allocations: 8 kB / 0.677 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.6009, allocations: 4 kB / 0.677 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.6026, allocations: 316.6 kB / 0.6773 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007566/0.6034, allocations: 127.8 kB / 0.6774 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.6055, allocations: 0.9229 MB / 0.6783 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.6074, allocations: 151.2 kB / 0.6785 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.6076, allocations: 35.98 kB / 0.6785 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001815/0.6094, allocations: 0.509 MB / 0.679 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00157/0.611, allocations: 0.5478 MB / 0.6795 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00224/0.6132, allocations: 0.7181 MB / 0.6802 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.011e-06/0.6132, allocations: 0 / 0.6802 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.004055/0.6173, allocations: 1.023 MB / 0.6812 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6173, allocations: 8 kB / 0.6813 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6174, allocations: 4 kB / 0.6813 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.619, allocations: 312.7 kB / 0.6816 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.6197, allocations: 127.8 kB / 0.6817 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.6217, allocations: 0.9137 MB / 0.6826 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.6234, allocations: 131.6 kB / 0.6827 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.6235, allocations: 35.92 kB / 0.6827 GB, free: 3.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0003133/0.6239, allocations: 220.1 kB / 0.6829 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/0.6243, allocations: 114.6 kB / 0.683 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/0.6295, allocations: 1.103 MB / 0.6841 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.6295, allocations: 8 kB / 0.6841 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6296, allocations: 4 kB / 0.6841 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.6296, allocations: 3.984 kB / 0.6841 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007283/0.6369, allocations: 2.154 MB / 0.6862 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6369, allocations: 4 kB / 0.6862 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.6373, allocations: 67.89 kB / 0.6863 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.6387, allocations: 304.7 kB / 0.6866 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.6388, allocations: 12 kB / 0.6866 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.6408, allocations: 0.9484 MB / 0.6875 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.6408, allocations: 7.938 kB / 0.6875 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005131/0.6459, allocations: 1.16 MB / 0.6887 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/0.6467, allocations: 271.5 kB / 0.6889 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/0.647, allocations: 12 kB / 0.6889 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.6483, allocations: 75.91 kB / 0.689 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.6484, allocations: 39.89 kB / 0.6891 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.6485, allocations: 12 kB / 0.6891 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001833/0.6503, allocations: 0.759 MB / 0.6898 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6503, allocations: 0 / 0.6898 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002675/0.653, allocations: 0.5692 MB / 0.6904 GB, free: 11.53 MB / 0.5294 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 (33): * Single equations (assignments): 28 * 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.001114/0.6542, allocations: 387 kB / 0.6907 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004706/0.6589, allocations: 1.152 MB / 0.6919 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6589, allocations: 0 / 0.6919 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009655/0.6599, allocations: 358.3 kB / 0.6922 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.6624, allocations: 0.5035 MB / 0.6927 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.6678, allocations: 2.039 MB / 0.6947 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.6686, allocations: 1.065 MB / 0.6957 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009807/0.6696, allocations: 226.2 kB / 0.6959 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.6698, allocations: 83.42 kB / 0.696 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.6698, allocations: 0 / 0.696 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of Templates: time 0.04282/0.7126, allocations: 24.94 MB / 0.7204 GB, free: 13.06 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)