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.001077/0.001077, allocations: 105.8 kB / 16.27 MB, free: 6.004 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.001146/0.001146, allocations: 182.1 kB / 17.19 MB, free: 5.621 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7654/0.7654, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001233, allocations: 63.89 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4016, allocations: 77.92 MB / 0.5672 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06289/0.4645, allocations: 75.18 MB / 0.6406 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02067/0.4852, allocations: 15.18 MB / 0.6554 GB, free: 220 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.4878, allocations: 67.62 kB / 0.6555 GB, free: 152 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.4899, allocations: 0.8267 MB / 0.6563 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007353/0.4973, allocations: 2.588 MB / 0.6588 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.5011, allocations: 1.382 MB / 0.6602 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006448/0.5076, allocations: 4.39 MB / 0.6645 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.51, allocations: 1.441 MB / 0.6659 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/0.5141, allocations: 1.632 MB / 0.6675 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.5161, allocations: 1.21 MB / 0.6687 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002916/0.5164, allocations: 164 kB / 0.6688 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00356/0.5199, allocations: 1.419 MB / 0.6702 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.5204, allocations: 398.6 kB / 0.6706 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.5218, allocations: 0.9022 MB / 0.6715 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004329/0.5261, allocations: 2.851 MB / 0.6742 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5261, allocations: 3.938 kB / 0.6742 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5262, allocations: 0 / 0.6742 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.597e-05/0.5262, allocations: 0 / 0.6742 GB, free: 12.89 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.003708/0.5299, allocations: 2.087 MB / 0.6763 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.53, allocations: 12.62 kB / 0.6763 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000836/0.5308, allocations: 230.8 kB / 0.6765 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/0.5332, allocations: 1.454 MB / 0.6779 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.5333, allocations: 74 kB / 0.678 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.5334, allocations: 103.9 kB / 0.6781 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.5355, allocations: 1.104 MB / 0.6792 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.5356, allocations: 4 kB / 0.6792 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/0.5357, allocations: 36 kB / 0.6792 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/0.5357, allocations: 24 kB / 0.6792 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.5378, allocations: 0.8978 MB / 0.6801 GB, free: 6.715 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.0063/0.5441, allocations: 4.96 MB / 0.685 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.5456, allocations: 0.6233 MB / 0.6856 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.5463, allocations: 354.3 kB / 0.6859 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000729/0.547, allocations: 0.8316 MB / 0.6867 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.5471, allocations: 43.12 kB / 0.6868 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.464e-06/0.5471, allocations: 0 / 0.6868 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.004995/0.5521, allocations: 1.408 MB / 0.6881 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.5522, allocations: 59.97 kB / 0.6882 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.5538, allocations: 1.222 MB / 0.6894 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.5538, allocations: 45.7 kB / 0.6894 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/0.5544, allocations: 0.5949 MB / 0.69 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.5546, allocations: 224.8 kB / 0.6902 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.5549, allocations: 154.6 kB / 0.6904 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.555, allocations: 334 kB / 0.6907 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006696/0.5557, allocations: 292.7 kB / 0.691 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008467/0.5565, allocations: 495.8 kB / 0.6914 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.558, allocations: 0.7081 MB / 0.6921 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.558, allocations: 4 kB / 0.6921 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00483/0.5628, allocations: 1.265 MB / 0.6934 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.5629, allocations: 8 kB / 0.6934 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.5629, allocations: 4.375 kB / 0.6934 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007604/0.5637, allocations: 164.6 kB / 0.6935 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.5643, allocations: 151.8 kB / 0.6937 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008845/0.5651, allocations: 0.7121 MB / 0.6944 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009735/0.5661, allocations: 127 kB / 0.6945 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.5662, allocations: 39.92 kB / 0.6945 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001091/0.5673, allocations: 0.5534 MB / 0.6951 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008291/0.5682, allocations: 491.9 kB / 0.6956 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001406/0.5696, allocations: 0.7042 MB / 0.6962 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.5696, allocations: 0 / 0.6962 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004862/0.5744, allocations: 1.257 MB / 0.6975 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.5745, allocations: 8 kB / 0.6975 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5745, allocations: 4 kB / 0.6975 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.5751, allocations: 157.1 kB / 0.6976 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.5757, allocations: 151.8 kB / 0.6978 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008462/0.5766, allocations: 0.72 MB / 0.6985 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.5776, allocations: 105.7 kB / 0.6986 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.5777, allocations: 32 kB / 0.6986 GB, free: 2.875 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.0002546/0.578, allocations: 228.1 kB / 0.6988 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.5782, allocations: 134.4 kB / 0.699 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004782/0.583, allocations: 1.258 MB / 0.7002 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.5831, allocations: 8 kB / 0.7002 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.5831, allocations: 0 / 0.7002 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004274/0.5873, allocations: 1.092 MB / 0.7013 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/0.5918, allocations: 2.314 MB / 0.7035 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.5919, allocations: 4 kB / 0.7035 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.5924, allocations: 112.2 kB / 0.7036 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005965/0.593, allocations: 152.7 kB / 0.7038 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.593, allocations: 20 kB / 0.7038 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008323/0.5939, allocations: 0.7072 MB / 0.7045 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.5939, allocations: 4 kB / 0.7045 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/0.5968, allocations: 1.403 MB / 0.7059 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/0.5976, allocations: 311.1 kB / 0.7062 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.5978, allocations: 20 kB / 0.7062 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007743/0.5985, allocations: 52 kB / 0.7062 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.5987, allocations: 52.31 kB / 0.7063 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.5987, allocations: 31.97 kB / 0.7063 GB, free: 10.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001225/0.6, allocations: 0.8857 MB / 0.7072 GB, free: 9.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6, allocations: 0 / 0.7072 GB, free: 9.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001906/0.6019, allocations: 0.7057 MB / 0.7079 GB, free: 9.113 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.0009551/0.6029, allocations: 485 kB / 0.7083 GB, free: 8.645 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002855/0.6057, allocations: 1.16 MB / 0.7095 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6057, allocations: 0 / 0.7095 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009236/0.6067, allocations: 399.3 kB / 0.7098 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/0.6104, allocations: 0.8028 MB / 0.7106 GB, free: 6.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.6145, allocations: 2.319 MB / 0.7129 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008035/0.6153, allocations: 1.172 MB / 0.714 GB, free: 2.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001157/0.6165, allocations: 301 kB / 0.7143 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.6167, allocations: 107.4 kB / 0.7144 GB, free: 2.352 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/0.6167, allocations: 0 / 0.7144 GB, free: 2.352 MB / 0.545 GB Notification: Performance of Templates: time 0.05517/0.6719, allocations: 32.04 MB / 0.7457 GB, free: 2.645 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)