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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 111 kB / 17.33 MB, free: 5.043 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.001423/0.001423, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.469/1.469, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8389/0.8389, allocations: 128.4 MB / 426.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 65.58 kB / 0.5911 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1922, allocations: 83.26 MB / 0.6725 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.08675/0.279, allocations: 75.84 MB / 0.7465 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5349/0.8139, allocations: 15.18 MB / 0.7613 GB, free: 26.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003736/0.8176, allocations: 68.16 kB / 0.7614 GB, free: 26.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.8208, allocations: 0.8623 MB / 0.7623 GB, free: 26.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01117/0.832, allocations: 2.733 MB / 0.7649 GB, free: 26.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005206/0.8372, allocations: 1.408 MB / 0.7663 GB, free: 26.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009917/0.8471, allocations: 4.407 MB / 0.7706 GB, free: 26.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002845/0.85, allocations: 1.192 MB / 0.7718 GB, free: 25.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007307/0.8573, allocations: 1.879 MB / 0.7736 GB, free: 25.81 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003772/0.8611, allocations: 1.261 MB / 0.7748 GB, free: 25.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006649/0.8617, allocations: 162.4 kB / 0.775 GB, free: 25.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005395/0.8671, allocations: 1.422 MB / 0.7764 GB, free: 25.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008117/0.8679, allocations: 417.5 kB / 0.7768 GB, free: 25.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002338/0.8703, allocations: 0.9069 MB / 0.7777 GB, free: 25.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006734/0.877, allocations: 2.878 MB / 0.7805 GB, free: 24.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.877, allocations: 0 / 0.7805 GB, free: 24.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.877, allocations: 0 / 0.7805 GB, free: 24.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.134e-05/0.8771, allocations: 0 / 0.7805 GB, free: 24.84 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.004724/0.8818, allocations: 2.14 MB / 0.7826 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8818, allocations: 9.844 kB / 0.7826 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/0.8828, allocations: 238 kB / 0.7828 GB, free: 23.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.8855, allocations: 1.548 MB / 0.7843 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.8855, allocations: 73.5 kB / 0.7844 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.8857, allocations: 100.9 kB / 0.7845 GB, free: 23.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.8878, allocations: 1.099 MB / 0.7855 GB, free: 22.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.8879, allocations: 1.125 kB / 0.7855 GB, free: 22.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/0.888, allocations: 41.12 kB / 0.7856 GB, free: 22.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/0.888, allocations: 24.41 kB / 0.7856 GB, free: 22.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.8899, allocations: 0.8916 MB / 0.7865 GB, free: 22.31 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.006549/0.8964, allocations: 4.918 MB / 0.7913 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.8978, allocations: 0.585 MB / 0.7919 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/0.8985, allocations: 324.4 kB / 0.7922 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004857/0.899, allocations: 0.8311 MB / 0.793 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.899, allocations: 39.28 kB / 0.793 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 1.773e-06/0.899, allocations: 1.062 kB / 0.793 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006625/0.9056, allocations: 1.694 MB / 0.7947 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.9056, allocations: 63.11 kB / 0.7947 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.9075, allocations: 1.227 MB / 0.7959 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.9076, allocations: 43.95 kB / 0.796 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.908, allocations: 0.6119 MB / 0.7966 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.9082, allocations: 227.5 kB / 0.7968 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.9084, allocations: 158.9 kB / 0.7969 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.9085, allocations: 332.3 kB / 0.7972 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.9091, allocations: 291 kB / 0.7975 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007178/0.9098, allocations: 0.4926 MB / 0.798 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.9111, allocations: 0.7111 MB / 0.7987 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.9111, allocations: 0 / 0.7987 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004165/0.9152, allocations: 1.281 MB / 0.8 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.9152, allocations: 9.391 kB / 0.8 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.9153, allocations: 2.938 kB / 0.8 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.9158, allocations: 133.6 kB / 0.8001 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.9163, allocations: 159.3 kB / 0.8002 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006508/0.917, allocations: 0.7104 MB / 0.8009 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.9182, allocations: 116 kB / 0.801 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.9182, allocations: 30.98 kB / 0.8011 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001033/0.9193, allocations: 0.5531 MB / 0.8016 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006539/0.9199, allocations: 0.4894 MB / 0.8021 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001127/0.921, allocations: 0.7076 MB / 0.8028 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.921, allocations: 2.188 kB / 0.8028 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.0041/0.9251, allocations: 1.271 MB / 0.804 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.9252, allocations: 9.359 kB / 0.804 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.9252, allocations: 2.844 kB / 0.804 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004384/0.9256, allocations: 140.6 kB / 0.8042 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.9261, allocations: 164.8 kB / 0.8043 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005947/0.9267, allocations: 0.6904 MB / 0.805 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.9279, allocations: 107.3 kB / 0.8051 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.928, allocations: 28.56 kB / 0.8051 GB, free: 9.828 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 (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.0002732/0.9282, allocations: 237.2 kB / 0.8054 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.9285, allocations: 138.8 kB / 0.8055 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004155/0.9326, allocations: 1.261 MB / 0.8067 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.9327, allocations: 12.09 kB / 0.8067 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9327, allocations: 4 kB / 0.8067 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003584/0.9363, allocations: 1.1 MB / 0.8078 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006047/0.9423, allocations: 2.616 MB / 0.8104 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.9423, allocations: 9.531 kB / 0.8104 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.9427, allocations: 109 kB / 0.8105 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/0.9432, allocations: 131.3 kB / 0.8106 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.9432, allocations: 20.19 kB / 0.8106 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00405/0.9472, allocations: 2.637 MB / 0.8132 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.9472, allocations: 8.938 kB / 0.8132 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/0.9519, allocations: 1.702 MB / 0.8149 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006762/0.9526, allocations: 317.6 kB / 0.8152 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.9528, allocations: 19.36 kB / 0.8152 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/0.9536, allocations: 52.84 kB / 0.8152 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.9537, allocations: 61.53 kB / 0.8153 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.9538, allocations: 33.56 kB / 0.8153 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001109/0.9549, allocations: 0.8814 MB / 0.8162 GB, free: 2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9549, allocations: 4 kB / 0.8162 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001922/0.9568, allocations: 0.7252 MB / 0.8169 GB, free: 1.27 MB / 0.5762 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.0008459/0.9576, allocations: 456 kB / 0.8173 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002223/0.9599, allocations: 1.065 MB / 0.8184 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9599, allocations: 0 / 0.8184 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.9613, allocations: 0.5506 MB / 0.8189 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/0.9645, allocations: 0.8074 MB / 0.8197 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.9687, allocations: 2.314 MB / 0.822 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008964/0.9695, allocations: 1.179 MB / 0.8231 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001161/0.9707, allocations: 299.1 kB / 0.8234 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.971, allocations: 111.4 kB / 0.8235 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.971, allocations: 0 / 0.8235 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.06547/1.036, allocations: 32.8 MB / 0.8555 GB, free: 10.06 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile [Timeout 660] (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) [Timeout 480]