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.001795/0.001795, allocations: 105.5 kB / 16.52 MB, free: 6.66 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.001716/0.001717, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.381/1.381, allocations: 222.9 MB / 241.1 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.738/0.738, allocations: 115.3 MB / 406.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 71.88 kB / 493.5 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3955, allocations: 76.17 MB / 0.5564 GB, free: 35.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.07185/0.4674, allocations: 74.69 MB / 0.6293 GB, free: 10 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02473/0.4922, allocations: 15.22 MB / 0.6442 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00427/0.4965, allocations: 63.62 kB / 0.6442 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.5, allocations: 0.6721 MB / 0.6449 GB, free: 9.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009623/0.5098, allocations: 2.384 MB / 0.6472 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.5141, allocations: 1.27 MB / 0.6485 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007789/0.5219, allocations: 5.557 MB / 0.6539 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002958/0.5249, allocations: 1.196 MB / 0.6551 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004294/0.5292, allocations: 1.369 MB / 0.6564 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.5324, allocations: 1.194 MB / 0.6576 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006992/0.5332, allocations: 76 kB / 0.6576 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004742/0.5379, allocations: 1.247 MB / 0.6588 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009771/0.5389, allocations: 322.6 kB / 0.6592 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002586/0.5415, allocations: 0.82 MB / 0.66 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004475/0.546, allocations: 2.202 MB / 0.6621 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5461, allocations: 0 / 0.6621 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5461, allocations: 0 / 0.6621 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.263e-05/0.5462, allocations: 0 / 0.6621 GB, free: 8.312 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.00672/0.5529, allocations: 2.087 MB / 0.6641 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.553, allocations: 11.97 kB / 0.6642 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.5542, allocations: 226.9 kB / 0.6644 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003689/0.5579, allocations: 1.497 MB / 0.6658 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.136e-05/0.558, allocations: 74 kB / 0.6659 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.5583, allocations: 108 kB / 0.666 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/0.5612, allocations: 1.1 MB / 0.6671 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.5612, allocations: 0 / 0.6671 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.5614, allocations: 40 kB / 0.6671 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.5614, allocations: 28 kB / 0.6671 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.5636, allocations: 0.8861 MB / 0.668 GB, free: 2.105 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.008225/0.5719, allocations: 4.905 MB / 0.6728 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.5735, allocations: 0.612 MB / 0.6734 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/0.5743, allocations: 358.3 kB / 0.6737 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007693/0.575, allocations: 0.8277 MB / 0.6745 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.5751, allocations: 43.12 kB / 0.6746 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.236e-06/0.5751, allocations: 3.938 kB / 0.6746 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007247/0.5824, allocations: 1.685 MB / 0.6762 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.5825, allocations: 67.91 kB / 0.6763 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/0.5848, allocations: 1.21 MB / 0.6775 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.5849, allocations: 37.7 kB / 0.6775 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006298/0.5856, allocations: 0.6104 MB / 0.6781 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.5859, allocations: 208.9 kB / 0.6783 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.5862, allocations: 158.5 kB / 0.6785 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5864, allocations: 330 kB / 0.6788 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007477/0.5871, allocations: 292.7 kB / 0.6791 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009136/0.588, allocations: 0.4937 MB / 0.6795 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.5896, allocations: 0.7087 MB / 0.6802 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.5896, allocations: 3.938 kB / 0.6802 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004742/0.5943, allocations: 1.277 MB / 0.6815 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.5944, allocations: 10.03 kB / 0.6815 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.5944, allocations: 4 kB / 0.6815 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/0.5951, allocations: 133.1 kB / 0.6816 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.5957, allocations: 167.7 kB / 0.6818 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000923/0.5966, allocations: 0.7018 MB / 0.6825 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.5981, allocations: 155.5 kB / 0.6826 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.5982, allocations: 35.98 kB / 0.6827 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001252/0.5994, allocations: 0.5535 MB / 0.6832 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008633/0.6003, allocations: 496.7 kB / 0.6837 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001386/0.6017, allocations: 0.7012 MB / 0.6844 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.26e-06/0.6017, allocations: 4 kB / 0.6844 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004627/0.6064, allocations: 1.261 MB / 0.6856 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.6064, allocations: 8 kB / 0.6856 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6064, allocations: 11.88 kB / 0.6856 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005317/0.607, allocations: 137.1 kB / 0.6857 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.6076, allocations: 159.8 kB / 0.6859 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008764/0.6085, allocations: 0.7057 MB / 0.6866 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.6099, allocations: 143.4 kB / 0.6867 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/0.61, allocations: 31.98 kB / 0.6867 GB, free: 14 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.000299/0.6103, allocations: 228.1 kB / 0.687 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004638/0.6108, allocations: 130.4 kB / 0.6871 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/0.6153, allocations: 1.267 MB / 0.6883 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.6154, allocations: 11.98 kB / 0.6883 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.6154, allocations: 0 / 0.6883 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003963/0.6193, allocations: 1.099 MB / 0.6894 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007223/0.6266, allocations: 2.606 MB / 0.692 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.6266, allocations: 4 kB / 0.692 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.6271, allocations: 107.9 kB / 0.6921 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005106/0.6276, allocations: 133.2 kB / 0.6922 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.083e-05/0.6277, allocations: 16 kB / 0.6922 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004811/0.6325, allocations: 2.391 MB / 0.6945 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.6326, allocations: 7.938 kB / 0.6945 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005496/0.6381, allocations: 1.695 MB / 0.6962 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009662/0.639, allocations: 307.1 kB / 0.6965 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/0.6395, allocations: 16 kB / 0.6965 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.6406, allocations: 83.91 kB / 0.6966 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.6408, allocations: 64.23 kB / 0.6967 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-05/0.6409, allocations: 35.98 kB / 0.6967 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001984/0.6429, allocations: 0.8662 MB / 0.6975 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6429, allocations: 0 / 0.6975 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002889/0.6458, allocations: 0.7095 MB / 0.6982 GB, free: 1.828 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.001308/0.6471, allocations: 460.3 kB / 0.6987 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002826/0.65, allocations: 1.102 MB / 0.6997 GB, free: 284 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.65, allocations: 8.062 kB / 0.6997 GB, free: 276 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.6516, allocations: 0.5679 MB / 0.7003 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/0.6557, allocations: 0.7519 MB / 0.701 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/0.6607, allocations: 2.791 MB / 0.7038 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.6618, allocations: 1.172 MB / 0.7049 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.6623, allocations: 107.4 kB / 0.705 GB, free: 10.79 MB / 0.545 GB Notification: Performance of SimCode: time 5.72e-07/0.6623, allocations: 0 / 0.705 GB, free: 10.79 MB / 0.545 GB Notification: Performance of Templates: time 0.04836/0.7107, allocations: 30.93 MB / 0.7352 GB, free: 12.05 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)