Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.759/2.759, allocations: 287.5 MB / 302.4 MB, free: 8.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001737/0.001738, allocations: 190.6 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.425/2.425, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009935/0.0009936, allocations: 99.44 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004834, allocations: 12.69 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2212, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.1078/0.329, allocations: 69.47 MB / 1.046 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03066/0.3597, allocations: 14.08 MB / 1.06 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.3628, allocations: 55.62 kB / 1.06 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.366, allocations: 0.5627 MB / 1.061 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009314/0.3754, allocations: 1.972 MB / 1.062 GB, free: 6 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005053/0.3805, allocations: 0.9849 MB / 1.063 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009364/0.3899, allocations: 4.771 MB / 1.068 GB, free: 252 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6549/1.045, allocations: 1.002 MB / 1.069 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004937/1.05, allocations: 1.284 MB / 1.07 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/1.054, allocations: 1.086 MB / 1.071 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007185/1.054, allocations: 58.94 kB / 1.071 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005148/1.06, allocations: 0.9344 MB / 1.072 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/1.061, allocations: 276.6 kB / 1.073 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/1.062, allocations: 356.5 kB / 1.073 GB, free: 33.24 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006077/1.068, allocations: 2.091 MB / 1.075 GB, free: 33.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.068, allocations: 0.8125 kB / 1.075 GB, free: 33.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.976e-06/1.068, allocations: 2.969 kB / 1.075 GB, free: 33.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.274e-05/1.068, allocations: 0 / 1.075 GB, free: 33.18 MB / 0.6823 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.007302/1.076, allocations: 1.804 MB / 1.077 GB, free: 32.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/1.076, allocations: 8.625 kB / 1.077 GB, free: 32.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/1.078, allocations: 250.1 kB / 1.077 GB, free: 32.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005407/1.083, allocations: 1.436 MB / 1.078 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/1.083, allocations: 78.38 kB / 1.078 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004489/1.084, allocations: 105.8 kB / 1.079 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004624/1.088, allocations: 1.112 MB / 1.08 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/1.089, allocations: 4.812 kB / 1.08 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/1.089, allocations: 38.91 kB / 1.08 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.988e-05/1.089, allocations: 29.77 kB / 1.08 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004422/1.093, allocations: 0.9222 MB / 1.081 GB, free: 31.61 MB / 0.6823 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.01199/1.105, allocations: 4.922 MB / 1.085 GB, free: 29.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/1.108, allocations: 0.6455 MB / 1.086 GB, free: 29.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/1.11, allocations: 366.7 kB / 1.086 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007872/1.111, allocations: 0.8318 MB / 1.087 GB, free: 28.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/1.111, allocations: 42.53 kB / 1.087 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 4.288e-06/1.111, allocations: 1.375 kB / 1.087 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.009986/1.121, allocations: 1.524 MB / 1.089 GB, free: 28.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/1.121, allocations: 60.38 kB / 1.089 GB, free: 28.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/1.124, allocations: 1.197 MB / 1.09 GB, free: 27.92 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002981/1.124, allocations: 39.17 kB / 1.09 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/1.125, allocations: 0.6013 MB / 1.091 GB, free: 27.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/1.126, allocations: 217.2 kB / 1.091 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/1.126, allocations: 13.62 kB / 1.091 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.27e-05/1.126, allocations: 342.2 kB / 1.091 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.127, allocations: 292.5 kB / 1.091 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/1.129, allocations: 0.5053 MB / 1.092 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/1.13, allocations: 358 kB / 1.092 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.13, allocations: 0.7812 kB / 1.092 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009188/1.139, allocations: 1.391 MB / 1.094 GB, free: 26.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/1.139, allocations: 189.5 kB / 1.094 GB, free: 26.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/1.14, allocations: 3.406 kB / 1.094 GB, free: 26.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/1.141, allocations: 166.4 kB / 1.094 GB, free: 26.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/1.142, allocations: 166.5 kB / 1.094 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/1.144, allocations: 0.727 MB / 1.095 GB, free: 26.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/1.146, allocations: 173 kB / 1.095 GB, free: 26.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/1.147, allocations: 34.03 kB / 1.095 GB, free: 26.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.147, allocations: 3.781 kB / 1.095 GB, free: 26.06 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008633/1.155, allocations: 1.245 MB / 1.096 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/1.155, allocations: 4 kB / 1.096 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/1.156, allocations: 167.6 kB / 1.096 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/1.158, allocations: 163 kB / 1.097 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/1.159, allocations: 0.7303 MB / 1.097 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/1.162, allocations: 161.2 kB / 1.097 GB, free: 25.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/1.162, allocations: 33.62 kB / 1.097 GB, free: 25.41 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001222/1.163, allocations: 421.7 kB / 1.098 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005399/1.164, allocations: 139.1 kB / 1.098 GB, free: 25.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008433/1.172, allocations: 1.383 MB / 1.099 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.589e-05/1.172, allocations: 10.31 kB / 1.099 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.172, allocations: 4 kB / 1.099 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007664/1.18, allocations: 1.211 MB / 1.101 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007518/1.188, allocations: 2.357 MB / 1.103 GB, free: 24.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.188, allocations: 2.844 kB / 1.103 GB, free: 24.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009897/1.189, allocations: 126 kB / 1.103 GB, free: 24.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/1.19, allocations: 156.3 kB / 1.103 GB, free: 24.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/1.19, allocations: 18.44 kB / 1.103 GB, free: 24.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/1.191, allocations: 0.7274 MB / 1.104 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.191, allocations: 10 kB / 1.104 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/1.196, allocations: 1.446 MB / 1.105 GB, free: 23.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/1.197, allocations: 332.5 kB / 1.106 GB, free: 23.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004991/1.198, allocations: 32.16 kB / 1.106 GB, free: 23.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/1.2, allocations: 95.92 kB / 1.106 GB, free: 23.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/1.2, allocations: 48.81 kB / 1.106 GB, free: 23.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.2, allocations: 29.97 kB / 1.106 GB, free: 23.19 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002091/1.202, allocations: 0.8621 MB / 1.107 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.41e-07/1.202, allocations: 0 / 1.107 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003682/1.206, allocations: 0.7073 MB / 1.107 GB, free: 22.98 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001435/1.208, allocations: 426.7 kB / 1.108 GB, free: 22.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004819/1.213, allocations: 1.164 MB / 1.109 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.213, allocations: 1.594 kB / 1.109 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/1.214, allocations: 407.8 kB / 1.109 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007221/1.222, allocations: 0.7759 MB / 1.11 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006933/1.229, allocations: 2.784 MB / 1.113 GB, free: 21.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/1.229, allocations: 1.176 MB / 1.114 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002496/1.232, allocations: 308.8 kB / 1.114 GB, free: 20.49 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/1.233, allocations: 101.8 kB / 1.114 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of SimCode: time 2.464e-06/1.233, allocations: 0 / 1.114 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of Templates: time 0.07631/1.309, allocations: 29.52 MB / 1.143 GB, free: 6.266 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)