Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 110 kB / 16.64 MB, free: 6.371 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.001368/0.001369, allocations: 183.5 kB / 17.56 MB, free: 5.801 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.432/1.432, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8199/0.8199, allocations: 125.4 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 55.91 kB / 0.4943 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4255, allocations: 78.55 MB / 0.571 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06991/0.4954, allocations: 74.69 MB / 0.6439 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.5181, allocations: 15.06 MB / 0.6586 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003299/0.5214, allocations: 59.62 kB / 0.6587 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002855/0.5244, allocations: 0.715 MB / 0.6594 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008344/0.5327, allocations: 2.398 MB / 0.6617 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.5368, allocations: 1.284 MB / 0.663 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007346/0.5441, allocations: 4.43 MB / 0.6673 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002695/0.5469, allocations: 1.433 MB / 0.6687 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0061/0.553, allocations: 1.836 MB / 0.6705 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002957/0.556, allocations: 1.237 MB / 0.6717 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004374/0.5564, allocations: 160 kB / 0.6719 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/0.5604, allocations: 1.439 MB / 0.6733 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.5609, allocations: 406.5 kB / 0.6737 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.5624, allocations: 0.906 MB / 0.6745 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003664/0.5661, allocations: 2.249 MB / 0.6767 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5661, allocations: 0 / 0.6767 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.155e-06/0.5661, allocations: 0 / 0.6767 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.513e-05/0.5662, allocations: 0 / 0.6767 GB, free: 11.16 MB / 0.5137 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.004238/0.5704, allocations: 2.091 MB / 0.6788 GB, free: 9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.5705, allocations: 8.031 kB / 0.6788 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000897/0.5714, allocations: 234.8 kB / 0.679 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.5741, allocations: 1.485 MB / 0.6805 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.828e-05/0.5741, allocations: 82 kB / 0.6805 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.5743, allocations: 103.9 kB / 0.6806 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.5765, allocations: 1.104 MB / 0.6817 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.5765, allocations: 0 / 0.6817 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/0.5767, allocations: 44 kB / 0.6818 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/0.5767, allocations: 24 kB / 0.6818 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.5787, allocations: 0.8939 MB / 0.6827 GB, free: 4.938 MB / 0.5137 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.007166/0.5859, allocations: 4.925 MB / 0.6875 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.5873, allocations: 0.6079 MB / 0.6881 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.5881, allocations: 350.3 kB / 0.6884 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007863/0.5889, allocations: 0.8315 MB / 0.6892 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.589, allocations: 43.12 kB / 0.6893 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.705e-06/0.589, allocations: 0 / 0.6893 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.00521/0.5942, allocations: 1.397 MB / 0.6906 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.5943, allocations: 63.91 kB / 0.6907 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.5962, allocations: 1.21 MB / 0.6919 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.5963, allocations: 37.7 kB / 0.6919 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/0.5969, allocations: 0.6027 MB / 0.6925 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.5972, allocations: 224.7 kB / 0.6927 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.5974, allocations: 158.6 kB / 0.6928 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5976, allocations: 337.9 kB / 0.6932 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006881/0.5983, allocations: 288.7 kB / 0.6934 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008949/0.5992, allocations: 498 kB / 0.6939 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.6007, allocations: 0.7121 MB / 0.6946 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6007, allocations: 0 / 0.6946 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004778/0.6055, allocations: 1.265 MB / 0.6959 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6055, allocations: 7.938 kB / 0.6959 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6056, allocations: 4.375 kB / 0.6959 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007141/0.6063, allocations: 154.8 kB / 0.696 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/0.6069, allocations: 155.8 kB / 0.6962 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009522/0.6079, allocations: 0.72 MB / 0.6969 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.6092, allocations: 157.1 kB / 0.697 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/0.6093, allocations: 39.98 kB / 0.6971 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001172/0.6105, allocations: 0.5494 MB / 0.6976 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008754/0.6114, allocations: 499.8 kB / 0.6981 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001445/0.6128, allocations: 0.7004 MB / 0.6987 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.6128, allocations: 0 / 0.6987 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004708/0.6175, allocations: 1.257 MB / 0.7 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6176, allocations: 4 kB / 0.7 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.6176, allocations: 7.984 kB / 0.7 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.6182, allocations: 157 kB / 0.7001 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.6188, allocations: 155.8 kB / 0.7003 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000901/0.6198, allocations: 0.7179 MB / 0.701 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.6211, allocations: 131.5 kB / 0.7011 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.6212, allocations: 35.98 kB / 0.7011 GB, free: 1.105 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002993/0.6215, allocations: 224.8 kB / 0.7014 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/0.6217, allocations: 138.2 kB / 0.7015 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/0.6264, allocations: 1.263 MB / 0.7027 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.6265, allocations: 8 kB / 0.7027 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6265, allocations: 0 / 0.7027 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004053/0.6305, allocations: 1.092 MB / 0.7038 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/0.6351, allocations: 2.302 MB / 0.706 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.6352, allocations: 4 kB / 0.7061 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.6357, allocations: 112.3 kB / 0.7062 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005931/0.6363, allocations: 148.7 kB / 0.7063 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/0.6363, allocations: 23.92 kB / 0.7063 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008726/0.6372, allocations: 0.7084 MB / 0.707 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.6372, allocations: 7.938 kB / 0.707 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/0.6402, allocations: 1.403 MB / 0.7084 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006849/0.6409, allocations: 311.1 kB / 0.7087 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.6411, allocations: 16 kB / 0.7087 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008907/0.642, allocations: 83.88 kB / 0.7088 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.6421, allocations: 56.25 kB / 0.7088 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.6422, allocations: 31.97 kB / 0.7089 GB, free: 8.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001344/0.6435, allocations: 0.8701 MB / 0.7097 GB, free: 8.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6436, allocations: 0 / 0.7097 GB, free: 8.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001957/0.6455, allocations: 0.7057 MB / 0.7104 GB, free: 7.328 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/0.6466, allocations: 458.6 kB / 0.7108 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002954/0.6495, allocations: 1.16 MB / 0.712 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6496, allocations: 0 / 0.712 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009646/0.6505, allocations: 394.3 kB / 0.7124 GB, free: 5.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/0.6543, allocations: 0.8109 MB / 0.7131 GB, free: 4.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.6589, allocations: 2.804 MB / 0.7159 GB, free: 1.699 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008627/0.6598, allocations: 1.168 MB / 0.717 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.6602, allocations: 107.4 kB / 0.7171 GB, free: 408 kB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.6602, allocations: 0 / 0.7171 GB, free: 408 kB / 0.545 GB Notification: Performance of Templates: time 0.04625/0.7065, allocations: 30.96 MB / 0.7474 GB, free: 1.621 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)