Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.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.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 92.39 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 177.7 kB / 16.58 MB, free: 6.066 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.398/1.398, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7108/0.7108, allocations: 115.5 MB / 407.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003078, allocations: 8 kB / 495.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 77.52 MB / 0.5593 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.3089/0.4482, allocations: 69.4 MB / 0.6271 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01924/0.4675, allocations: 14.18 MB / 0.6409 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.4702, allocations: 57.16 kB / 0.641 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.4722, allocations: 0.5654 MB / 0.6415 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006032/0.4782, allocations: 1.993 MB / 0.6435 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.4812, allocations: 0.9634 MB / 0.6444 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005609/0.4868, allocations: 4.808 MB / 0.6491 GB, free: 9.164 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.4884, allocations: 1.027 MB / 0.6501 GB, free: 8.539 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.4908, allocations: 1.277 MB / 0.6514 GB, free: 7.848 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.4922, allocations: 1.08 MB / 0.6524 GB, free: 7.227 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.4924, allocations: 54.91 kB / 0.6525 GB, free: 7.227 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.4947, allocations: 0.9231 MB / 0.6534 GB, free: 6.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.495, allocations: 276.8 kB / 0.6536 GB, free: 6.543 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.4954, allocations: 360.8 kB / 0.654 GB, free: 6.336 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.4976, allocations: 2.08 MB / 0.656 GB, free: 4.367 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4976, allocations: 0 / 0.656 GB, free: 4.367 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4976, allocations: 0 / 0.656 GB, free: 4.367 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.4976, allocations: 0 / 0.656 GB, free: 4.367 MB / 478.1 MB 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.003128/0.5008, allocations: 1.803 MB / 0.6578 GB, free: 2.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5008, allocations: 12.03 kB / 0.6578 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.5015, allocations: 234 kB / 0.658 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.5039, allocations: 1.451 MB / 0.6594 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.504, allocations: 78 kB / 0.6595 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.5041, allocations: 104 kB / 0.6596 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.5062, allocations: 1.108 MB / 0.6607 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.5062, allocations: 7.938 kB / 0.6607 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.243e-05/0.5063, allocations: 44 kB / 0.6607 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/0.5064, allocations: 24 kB / 0.6608 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.5083, allocations: 0.9251 MB / 0.6617 GB, free: 14.43 MB / 494.1 MB 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.005714/0.514, allocations: 4.908 MB / 0.6664 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.5154, allocations: 0.6362 MB / 0.6671 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007138/0.5162, allocations: 370.3 kB / 0.6674 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/0.5168, allocations: 0.8238 MB / 0.6682 GB, free: 7.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.5169, allocations: 47.12 kB / 0.6683 GB, free: 7.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 2.385e-06/0.5169, allocations: 0 / 0.6683 GB, free: 7.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.006687/0.5236, allocations: 1.888 MB / 0.6701 GB, free: 5.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.5236, allocations: 55.97 kB / 0.6702 GB, free: 5.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.5252, allocations: 1.195 MB / 0.6713 GB, free: 3.973 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.5253, allocations: 41.7 kB / 0.6714 GB, free: 3.926 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.5258, allocations: 0.6065 MB / 0.672 GB, free: 3.312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.526, allocations: 216.9 kB / 0.6722 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.5261, allocations: 12 kB / 0.6722 GB, free: 3.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5262, allocations: 337.9 kB / 0.6725 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/0.5269, allocations: 297.8 kB / 0.6728 GB, free: 2.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008021/0.5277, allocations: 0.5085 MB / 0.6733 GB, free: 1.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007156/0.5284, allocations: 359 kB / 0.6736 GB, free: 1.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.5284, allocations: 0 / 0.6736 GB, free: 1.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004546/0.533, allocations: 1.398 MB / 0.675 GB, free: 112 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.5332, allocations: 198.3 kB / 0.6752 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.5332, allocations: 4 kB / 0.6752 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/0.5338, allocations: 144.7 kB / 0.6753 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.5344, allocations: 171.7 kB / 0.6755 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008336/0.5353, allocations: 0.7171 MB / 0.6762 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.5364, allocations: 163.1 kB / 0.6763 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.5365, allocations: 35.98 kB / 0.6764 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.5365, allocations: 6.031 kB / 0.6764 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004185/0.5407, allocations: 1.245 MB / 0.6776 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5408, allocations: 4 kB / 0.6776 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004709/0.5412, allocations: 151.8 kB / 0.6778 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.5419, allocations: 167.7 kB / 0.6779 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007743/0.5426, allocations: 0.72 MB / 0.6786 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.5437, allocations: 160.8 kB / 0.6788 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.5438, allocations: 35.97 kB / 0.6788 GB, free: 12.1 MB / 0.4981 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006285/0.5444, allocations: 418.4 kB / 0.6792 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.5446, allocations: 138.4 kB / 0.6793 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/0.5491, allocations: 1.396 MB / 0.6807 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.5491, allocations: 8 kB / 0.6807 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5491, allocations: 0 / 0.6807 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003994/0.5531, allocations: 1.236 MB / 0.6819 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006269/0.5594, allocations: 2.735 MB / 0.6846 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.5595, allocations: 4 kB / 0.6846 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.56, allocations: 120.2 kB / 0.6847 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.5604, allocations: 136.8 kB / 0.6848 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.5605, allocations: 23.98 kB / 0.6849 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004567/0.5651, allocations: 2.481 MB / 0.6873 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.5651, allocations: 7.938 kB / 0.6873 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005027/0.5701, allocations: 1.852 MB / 0.6891 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000576/0.5707, allocations: 335 kB / 0.6894 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.5709, allocations: 16 kB / 0.6894 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008205/0.5717, allocations: 99.88 kB / 0.6895 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5718, allocations: 52.31 kB / 0.6896 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/0.5719, allocations: 35.92 kB / 0.6896 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001221/0.5731, allocations: 0.8545 MB / 0.6904 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5731, allocations: 4 kB / 0.6904 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001803/0.5749, allocations: 0.7096 MB / 0.6911 GB, free: 15.06 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000747/0.5757, allocations: 421.5 kB / 0.6915 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002514/0.5782, allocations: 1.153 MB / 0.6927 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5782, allocations: 8.188 kB / 0.6927 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.5797, allocations: 0.5915 MB / 0.6933 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/0.5829, allocations: 0.756 MB / 0.694 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.5869, allocations: 2.775 MB / 0.6967 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/0.5876, allocations: 1.183 MB / 0.6979 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001272/0.5889, allocations: 303.9 kB / 0.6981 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.5892, allocations: 103.4 kB / 0.6982 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/0.5892, allocations: 0 / 0.6982 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of Templates: time 0.0487/0.6379, allocations: 29.38 MB / 0.7269 GB, free: 10.64 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)