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.001178/0.001178, allocations: 87.45 kB / 16.67 MB, free: 6.594 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.001309/0.001309, allocations: 185.1 kB / 17.58 MB, free: 6.188 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.396/1.396, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7097/0.7097, allocations: 115.5 MB / 408.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003775, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4581, allocations: 77.51 MB / 0.5606 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.06728/0.5254, allocations: 73.42 MB / 0.6323 GB, free: 9.836 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02204/0.5475, allocations: 15.04 MB / 0.647 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00327/0.5508, allocations: 55.62 kB / 0.647 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002799/0.5537, allocations: 0.676 MB / 0.6477 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.5641, allocations: 2.391 MB / 0.65 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004263/0.5684, allocations: 1.269 MB / 0.6512 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008342/0.5767, allocations: 5.554 MB / 0.6567 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002316/0.5791, allocations: 1.165 MB / 0.6578 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.5827, allocations: 1.326 MB / 0.6591 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.5851, allocations: 1.143 MB / 0.6602 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002164/0.5853, allocations: 56 kB / 0.6603 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.5887, allocations: 1.236 MB / 0.6615 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000421/0.5891, allocations: 294.6 kB / 0.6618 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.5905, allocations: 0.8022 MB / 0.6625 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.5937, allocations: 2.151 MB / 0.6646 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5937, allocations: 0 / 0.6646 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5937, allocations: 0 / 0.6646 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.803e-05/0.5937, allocations: 4 kB / 0.6646 GB, free: 8.562 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.003739/0.5975, allocations: 1.787 MB / 0.6664 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.5975, allocations: 11.97 kB / 0.6664 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008209/0.5984, allocations: 242.9 kB / 0.6666 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.601, allocations: 1.489 MB / 0.6681 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.484e-05/0.601, allocations: 82 kB / 0.6682 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.6012, allocations: 104 kB / 0.6683 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.6034, allocations: 1.116 MB / 0.6694 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.6034, allocations: 4 kB / 0.6694 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.577e-05/0.6035, allocations: 36 kB / 0.6694 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.6036, allocations: 27.98 kB / 0.6694 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.6056, allocations: 0.9368 MB / 0.6703 GB, free: 2.582 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.00641/0.612, allocations: 4.913 MB / 0.6751 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.6135, allocations: 0.6498 MB / 0.6758 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007368/0.6142, allocations: 372 kB / 0.6761 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/0.6149, allocations: 0.8277 MB / 0.6769 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.615, allocations: 51.05 kB / 0.677 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.716e-06/0.615, allocations: 0 / 0.677 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007977/0.623, allocations: 1.889 MB / 0.6788 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.6231, allocations: 63.91 kB / 0.6789 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.6251, allocations: 1.21 MB / 0.6801 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.6252, allocations: 45.7 kB / 0.6801 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/0.6258, allocations: 0.6065 MB / 0.6807 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.6261, allocations: 209 kB / 0.6809 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.6262, allocations: 65.67 kB / 0.681 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6264, allocations: 334 kB / 0.6813 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007222/0.6271, allocations: 301.8 kB / 0.6816 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009189/0.628, allocations: 0.5124 MB / 0.6821 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.6295, allocations: 0.7518 MB / 0.6828 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.6296, allocations: 0 / 0.6828 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005153/0.6347, allocations: 1.41 MB / 0.6842 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.6349, allocations: 198.3 kB / 0.6844 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.6349, allocations: 4 kB / 0.6844 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/0.6356, allocations: 152.7 kB / 0.6845 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.6362, allocations: 163.8 kB / 0.6847 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009203/0.6372, allocations: 0.7132 MB / 0.6854 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.6386, allocations: 175.6 kB / 0.6855 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.6386, allocations: 31.98 kB / 0.6856 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.6387, allocations: 0 / 0.6856 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004693/0.6434, allocations: 1.257 MB / 0.6868 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6434, allocations: 4 kB / 0.6868 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005361/0.6439, allocations: 153 kB / 0.687 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.6445, allocations: 167.7 kB / 0.6871 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009196/0.6455, allocations: 0.7114 MB / 0.6878 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.6469, allocations: 159.8 kB / 0.688 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/0.6469, allocations: 43.91 kB / 0.688 GB, free: 15.68 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007991/0.6478, allocations: 417.8 kB / 0.6884 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.648, allocations: 138.2 kB / 0.6885 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/0.653, allocations: 1.396 MB / 0.6899 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.653, allocations: 4 kB / 0.6899 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.653, allocations: 4 kB / 0.6899 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004453/0.6575, allocations: 1.24 MB / 0.6911 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007272/0.6648, allocations: 2.739 MB / 0.6938 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.6648, allocations: 4 kB / 0.6938 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.6653, allocations: 128.2 kB / 0.6939 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/0.6659, allocations: 132.8 kB / 0.694 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.6659, allocations: 19.98 kB / 0.6941 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00503/0.6709, allocations: 2.486 MB / 0.6965 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.671, allocations: 4 kB / 0.6965 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005813/0.6768, allocations: 1.852 MB / 0.6983 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000873/0.6777, allocations: 331 kB / 0.6986 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.6779, allocations: 23.94 kB / 0.6986 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009089/0.6788, allocations: 102.9 kB / 0.6987 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.6789, allocations: 52.31 kB / 0.6988 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-05/0.679, allocations: 31.97 kB / 0.6988 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001262/0.6803, allocations: 0.8779 MB / 0.6997 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6803, allocations: 0 / 0.6997 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002007/0.6823, allocations: 0.7057 MB / 0.7004 GB, free: 2.602 MB / 0.5294 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 (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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000967/0.6833, allocations: 440.8 kB / 0.7008 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00271/0.686, allocations: 1.172 MB / 0.7019 GB, free: 1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.686, allocations: 4 kB / 0.7019 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.6876, allocations: 0.5995 MB / 0.7025 GB, free: 388 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004327/0.6919, allocations: 0.7827 MB / 0.7033 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.6962, allocations: 2.867 MB / 0.7061 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.6969, allocations: 1.173 MB / 0.7072 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.6972, allocations: 119.4 kB / 0.7073 GB, free: 11.36 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.6972, allocations: 0 / 0.7073 GB, free: 11.36 MB / 0.545 GB Notification: Performance of Templates: time 0.04788/0.7451, allocations: 30.72 MB / 0.7373 GB, free: 12.81 MB / 0.5762 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)