Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 89.41 kB / 16.66 MB, free: 5.742 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.001574/0.001575, allocations: 180.9 kB / 17.58 MB, free: 5.477 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.42/1.42, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7143/0.7143, allocations: 115.5 MB / 408.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003292, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4507, allocations: 77.52 MB / 0.5606 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06536/0.5161, allocations: 73.45 MB / 0.6323 GB, free: 9.805 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0206/0.5367, allocations: 15.05 MB / 0.647 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.54, allocations: 59.62 kB / 0.6471 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.5424, allocations: 0.676 MB / 0.6477 GB, free: 9.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007882/0.5503, allocations: 2.379 MB / 0.65 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00381/0.5542, allocations: 1.269 MB / 0.6513 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007397/0.5616, allocations: 5.554 MB / 0.6567 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.5637, allocations: 1.159 MB / 0.6578 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.5669, allocations: 1.337 MB / 0.6591 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.569, allocations: 1.147 MB / 0.6603 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.5692, allocations: 56 kB / 0.6603 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.5723, allocations: 1.236 MB / 0.6615 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.5727, allocations: 282.6 kB / 0.6618 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.5738, allocations: 0.8061 MB / 0.6626 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002735/0.5765, allocations: 2.151 MB / 0.6647 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5765, allocations: 0 / 0.6647 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5765, allocations: 4 kB / 0.6647 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.531e-05/0.5766, allocations: 0 / 0.6647 GB, free: 8.531 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.003559/0.5801, allocations: 1.787 MB / 0.6664 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5802, allocations: 19.91 kB / 0.6664 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008027/0.581, allocations: 234.9 kB / 0.6667 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.5835, allocations: 1.493 MB / 0.6681 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.5836, allocations: 74 kB / 0.6682 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.5838, allocations: 108 kB / 0.6683 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.5859, allocations: 1.116 MB / 0.6694 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.5859, allocations: 0 / 0.6694 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.5861, allocations: 44 kB / 0.6694 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.42e-05/0.5861, allocations: 24 kB / 0.6695 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.5883, allocations: 0.9329 MB / 0.6704 GB, free: 2.555 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.006788/0.5951, allocations: 4.921 MB / 0.6752 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.5966, allocations: 0.6416 MB / 0.6758 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007658/0.5973, allocations: 378.3 kB / 0.6762 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006869/0.598, allocations: 0.8238 MB / 0.677 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.5981, allocations: 43.12 kB / 0.677 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.276e-06/0.5981, allocations: 3.938 kB / 0.677 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.0077/0.6058, allocations: 1.896 MB / 0.6789 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.6059, allocations: 55.97 kB / 0.6789 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.6078, allocations: 1.21 MB / 0.6801 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.6079, allocations: 41.7 kB / 0.6801 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005444/0.6085, allocations: 0.6142 MB / 0.6807 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.6087, allocations: 209 kB / 0.6809 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.47e-05/0.6088, allocations: 61.69 kB / 0.681 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6089, allocations: 341.9 kB / 0.6813 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.6096, allocations: 297.8 kB / 0.6816 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008515/0.6105, allocations: 0.5007 MB / 0.6821 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.612, allocations: 0.7595 MB / 0.6828 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.612, allocations: 7.938 kB / 0.6828 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005007/0.617, allocations: 1.406 MB / 0.6842 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.6171, allocations: 202.3 kB / 0.6844 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.6172, allocations: 7.984 kB / 0.6844 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.6178, allocations: 141.5 kB / 0.6845 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.6184, allocations: 175.7 kB / 0.6847 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009202/0.6194, allocations: 0.7136 MB / 0.6854 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.6208, allocations: 171 kB / 0.6856 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/0.6209, allocations: 32 kB / 0.6856 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.6209, allocations: 4 kB / 0.6856 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004673/0.6256, allocations: 1.261 MB / 0.6868 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.6256, allocations: 4 kB / 0.6868 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005294/0.6261, allocations: 141 kB / 0.687 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.6267, allocations: 167.8 kB / 0.6871 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008834/0.6276, allocations: 0.7215 MB / 0.6878 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.629, allocations: 151.2 kB / 0.688 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.6291, allocations: 28 kB / 0.688 GB, free: 15.66 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.0008624/0.63, allocations: 433.6 kB / 0.6884 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004225/0.6304, allocations: 138.2 kB / 0.6886 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/0.6357, allocations: 1.399 MB / 0.6899 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/0.6357, allocations: 8 kB / 0.6899 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.6357, allocations: 0 / 0.6899 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004604/0.6403, allocations: 1.236 MB / 0.6911 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007905/0.6483, allocations: 2.739 MB / 0.6938 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.6483, allocations: 4 kB / 0.6938 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.6489, allocations: 119.8 kB / 0.6939 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/0.6495, allocations: 141 kB / 0.6941 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.03e-05/0.6495, allocations: 19.98 kB / 0.6941 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.6547, allocations: 2.488 MB / 0.6965 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.6548, allocations: 4 kB / 0.6965 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006016/0.6608, allocations: 1.852 MB / 0.6983 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008621/0.6617, allocations: 327.1 kB / 0.6986 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/0.6621, allocations: 27.92 kB / 0.6987 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.6632, allocations: 95.83 kB / 0.6988 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.6634, allocations: 60.23 kB / 0.6988 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-05/0.6635, allocations: 31.98 kB / 0.6988 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001597/0.6651, allocations: 0.8701 MB / 0.6997 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6651, allocations: 0 / 0.6997 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00252/0.6676, allocations: 0.7057 MB / 0.7004 GB, free: 2.574 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.001151/0.6688, allocations: 459.1 kB / 0.7008 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002915/0.6717, allocations: 1.168 MB / 0.702 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.6717, allocations: 4 kB / 0.702 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.6734, allocations: 0.5995 MB / 0.7026 GB, free: 348 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005012/0.6784, allocations: 0.793 MB / 0.7033 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.6833, allocations: 2.859 MB / 0.7061 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009129/0.6842, allocations: 1.173 MB / 0.7073 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/0.6847, allocations: 115.4 kB / 0.7074 GB, free: 11.32 MB / 0.545 GB Notification: Performance of SimCode: time 1.623e-06/0.6847, allocations: 0 / 0.7074 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Templates: time 0.04865/0.7334, allocations: 30.76 MB / 0.7374 GB, free: 12.74 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)