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.0009709/0.0009709, allocations: 112.2 kB / 17.04 MB, free: 6.082 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.0009531/0.0009531, allocations: 195 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.237/1.237, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6752/0.6752, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3211, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.06123/0.3824, allocations: 75.15 MB / 0.631 GB, free: 9.242 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.4015, allocations: 15.17 MB / 0.6458 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.4042, allocations: 67.62 kB / 0.6458 GB, free: 9.965 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002879/0.4071, allocations: 0.8228 MB / 0.6466 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007291/0.4145, allocations: 2.592 MB / 0.6492 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.4179, allocations: 1.395 MB / 0.6505 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005611/0.4235, allocations: 4.41 MB / 0.6548 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.4258, allocations: 1.451 MB / 0.6562 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003725/0.4296, allocations: 1.633 MB / 0.6578 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.4316, allocations: 1.217 MB / 0.659 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000297/0.432, allocations: 160 kB / 0.6592 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.4349, allocations: 1.404 MB / 0.6606 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004057/0.4353, allocations: 394.6 kB / 0.6609 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.4364, allocations: 0.906 MB / 0.6618 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003902/0.4403, allocations: 2.874 MB / 0.6646 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4404, allocations: 0 / 0.6646 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4404, allocations: 0 / 0.6646 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.4404, allocations: 0 / 0.6646 GB, free: 6.66 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.003728/0.4441, allocations: 2.083 MB / 0.6667 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.4442, allocations: 16.03 kB / 0.6667 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007796/0.445, allocations: 222.9 kB / 0.6669 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.4475, allocations: 1.525 MB / 0.6684 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.4475, allocations: 78 kB / 0.6684 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.4477, allocations: 103.9 kB / 0.6685 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.4495, allocations: 1.1 MB / 0.6696 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.4496, allocations: 4 kB / 0.6696 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.08e-05/0.4497, allocations: 40 kB / 0.6697 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/0.4497, allocations: 27.94 kB / 0.6697 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.4514, allocations: 0.8861 MB / 0.6706 GB, free: 440 kB / 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.005747/0.4572, allocations: 4.905 MB / 0.6753 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.4586, allocations: 0.6197 MB / 0.676 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/0.4592, allocations: 346.8 kB / 0.6763 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000604/0.4599, allocations: 0.8277 MB / 0.6771 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.4599, allocations: 35.12 kB / 0.6771 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.484e-06/0.4599, allocations: 0 / 0.6771 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.00652/0.4664, allocations: 1.701 MB / 0.6788 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.4665, allocations: 55.97 kB / 0.6788 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.4682, allocations: 1.23 MB / 0.68 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.4683, allocations: 41.7 kB / 0.6801 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.4688, allocations: 0.6104 MB / 0.6807 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.469, allocations: 205 kB / 0.6809 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.4692, allocations: 158.5 kB / 0.681 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4694, allocations: 330 kB / 0.6813 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006077/0.47, allocations: 296.6 kB / 0.6816 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007851/0.4708, allocations: 0.489 MB / 0.6821 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.4721, allocations: 0.7166 MB / 0.6828 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4721, allocations: 0 / 0.6828 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004361/0.4765, allocations: 1.277 MB / 0.684 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4765, allocations: 8 kB / 0.6841 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.4765, allocations: 4 kB / 0.6841 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005619/0.4771, allocations: 133.1 kB / 0.6842 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/0.4777, allocations: 163.8 kB / 0.6843 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008341/0.4786, allocations: 0.6972 MB / 0.685 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.4796, allocations: 123.1 kB / 0.6851 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.4797, allocations: 35.98 kB / 0.6852 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001098/0.4808, allocations: 0.5487 MB / 0.6857 GB, free: 168 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008666/0.4817, allocations: 496.8 kB / 0.6862 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001269/0.483, allocations: 0.7012 MB / 0.6869 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.483, allocations: 0 / 0.6869 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004233/0.4872, allocations: 1.277 MB / 0.6881 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.4873, allocations: 8 kB / 0.6881 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4873, allocations: 4 kB / 0.6881 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/0.4877, allocations: 139.6 kB / 0.6883 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.4883, allocations: 159.7 kB / 0.6884 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007368/0.4891, allocations: 0.7045 MB / 0.6891 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/0.49, allocations: 99.52 kB / 0.6892 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.4901, allocations: 35.98 kB / 0.6892 GB, free: 12.39 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.0002332/0.4903, allocations: 224.7 kB / 0.6894 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.4906, allocations: 138.3 kB / 0.6896 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/0.4949, allocations: 1.267 MB / 0.6908 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.4949, allocations: 11.98 kB / 0.6908 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.495, allocations: 3.984 kB / 0.6908 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003772/0.4987, allocations: 1.103 MB / 0.6919 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006181/0.5049, allocations: 2.614 MB / 0.6945 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.505, allocations: 0 / 0.6945 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.5054, allocations: 116.3 kB / 0.6946 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004409/0.5059, allocations: 124.8 kB / 0.6947 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.5059, allocations: 19.98 kB / 0.6947 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004713/0.5107, allocations: 2.64 MB / 0.6973 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.5107, allocations: 4 kB / 0.6973 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005096/0.5158, allocations: 1.691 MB / 0.6989 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005884/0.5164, allocations: 315.1 kB / 0.6992 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.5166, allocations: 12 kB / 0.6992 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/0.5173, allocations: 52 kB / 0.6993 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.5175, allocations: 64.23 kB / 0.6994 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.5175, allocations: 35.98 kB / 0.6994 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001271/0.5188, allocations: 0.8818 MB / 0.7003 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5188, allocations: 0 / 0.7003 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001728/0.5206, allocations: 0.7213 MB / 0.701 GB, free: 15.95 MB / 0.545 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.0008339/0.5214, allocations: 469.6 kB / 0.7014 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002411/0.5238, allocations: 1.114 MB / 0.7025 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.5238, allocations: 4 kB / 0.7025 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.5252, allocations: 0.5604 MB / 0.703 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/0.5283, allocations: 0.7939 MB / 0.7038 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.5317, allocations: 2.272 MB / 0.706 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/0.5325, allocations: 1.19 MB / 0.7072 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009475/0.5334, allocations: 303.4 kB / 0.7075 GB, free: 9.191 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.5336, allocations: 103.4 kB / 0.7076 GB, free: 9.09 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/0.5336, allocations: 0 / 0.7076 GB, free: 9.09 MB / 0.545 GB Notification: Performance of Templates: time 0.04821/0.5819, allocations: 32.17 MB / 0.739 GB, free: 9.238 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)