Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 288.4 MB / 304.3 MB, free: 8.121 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.0009641/0.0009643, allocations: 187.8 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 0.6316 GB, free: 9.887 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.0007156/0.0007157, allocations: 94.25 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 12.59 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.168, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05736/0.2254, allocations: 69.45 MB / 1.049 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01883/0.2443, allocations: 14.07 MB / 1.062 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.2466, allocations: 55.62 kB / 1.062 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.2485, allocations: 0.5627 MB / 1.063 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006041/0.2545, allocations: 2.115 MB / 1.065 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.2577, allocations: 1.002 MB / 1.066 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.3845/0.6422, allocations: 4.805 MB / 1.071 GB, free: 34.2 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.6444, allocations: 1.14 MB / 1.072 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.6472, allocations: 1.307 MB / 1.073 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.649, allocations: 1.09 MB / 1.074 GB, free: 34.06 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.6492, allocations: 55.19 kB / 1.074 GB, free: 34.06 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.652, allocations: 1.175 MB / 1.075 GB, free: 34.06 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.6524, allocations: 274.2 kB / 1.076 GB, free: 34.06 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009578/0.6534, allocations: 0.7681 MB / 1.076 GB, free: 34.03 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003147/0.6565, allocations: 2.152 MB / 1.078 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.6565, allocations: 1.953 kB / 1.078 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6565, allocations: 0 / 1.078 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.276e-05/0.6566, allocations: 0 / 1.078 GB, free: 33.96 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.003463/0.6601, allocations: 1.786 MB / 1.08 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.6601, allocations: 9.031 kB / 1.08 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007331/0.6609, allocations: 242.7 kB / 1.08 GB, free: 32.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.663, allocations: 1.496 MB / 1.082 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.6631, allocations: 82.28 kB / 1.082 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.6633, allocations: 100 kB / 1.082 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.6652, allocations: 1.111 MB / 1.083 GB, free: 32.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.6653, allocations: 5.312 kB / 1.083 GB, free: 32.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.6654, allocations: 36.72 kB / 1.083 GB, free: 32.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.6654, allocations: 28.84 kB / 1.083 GB, free: 32.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.6673, allocations: 0.9238 MB / 1.084 GB, free: 32.32 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.005406/0.6727, allocations: 4.919 MB / 1.089 GB, free: 30.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.6741, allocations: 0.6369 MB / 1.09 GB, free: 30.08 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000674/0.6747, allocations: 370.4 kB / 1.09 GB, free: 30.06 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/0.6752, allocations: 0.8311 MB / 1.091 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.6752, allocations: 45.25 kB / 1.091 GB, free: 29.08 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.156e-06/0.6752, allocations: 2.734 kB / 1.091 GB, free: 29.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.00707/0.6823, allocations: 1.889 MB / 1.093 GB, free: 28.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.6824, allocations: 57.97 kB / 1.093 GB, free: 28.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.684, allocations: 1.193 MB / 1.094 GB, free: 28.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.471e-05/0.6841, allocations: 46.27 kB / 1.094 GB, free: 28.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.6845, allocations: 0.6095 MB / 1.094 GB, free: 28.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.6847, allocations: 212.5 kB / 1.095 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.6848, allocations: 15.5 kB / 1.095 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.6848, allocations: 333.3 kB / 1.095 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.6855, allocations: 294.9 kB / 1.095 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007518/0.6862, allocations: 0.5023 MB / 1.096 GB, free: 27.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.6875, allocations: 0.7402 MB / 1.096 GB, free: 27.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6875, allocations: 4 kB / 1.096 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004488/0.692, allocations: 1.396 MB / 1.098 GB, free: 27.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/0.6921, allocations: 198 kB / 1.098 GB, free: 27.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.6921, allocations: 3.375 kB / 1.098 GB, free: 27.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.6926, allocations: 152.5 kB / 1.098 GB, free: 27.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.6932, allocations: 163.5 kB / 1.098 GB, free: 27.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006834/0.6939, allocations: 0.7232 MB / 1.099 GB, free: 26.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.6952, allocations: 165.9 kB / 1.099 GB, free: 26.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.6953, allocations: 34.88 kB / 1.099 GB, free: 26.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.6953, allocations: 9.219 kB / 1.099 GB, free: 26.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004272/0.6996, allocations: 1.246 MB / 1.1 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6996, allocations: 12.22 kB / 1.1 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/0.7001, allocations: 149.1 kB / 1.101 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.7007, allocations: 166.9 kB / 1.101 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006946/0.7014, allocations: 0.7168 MB / 1.101 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.7028, allocations: 164.1 kB / 1.102 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.7028, allocations: 36.48 kB / 1.102 GB, free: 25.9 MB / 0.6823 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 (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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007112/0.7036, allocations: 416.8 kB / 1.102 GB, free: 25.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.7038, allocations: 139.9 kB / 1.102 GB, free: 25.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/0.7084, allocations: 1.392 MB / 1.104 GB, free: 25.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004031/0.7125, allocations: 1.234 MB / 1.105 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.7125, allocations: 0 / 1.105 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009174/0.7134, allocations: 326.6 kB / 1.105 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.7136, allocations: 14.31 kB / 1.105 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.7144, allocations: 90.27 kB / 1.105 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.7145, allocations: 49.75 kB / 1.105 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002398/0.7169, allocations: 1.04 MB / 1.106 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002091/0.719, allocations: 1.389 MB / 1.108 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005932/0.7196, allocations: 342.7 kB / 1.108 GB, free: 24.63 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001174/0.7208, allocations: 0.8351 MB / 1.109 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of Backend: time 5.21e-07/0.7208, allocations: 1.031 kB / 1.109 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003776/0.7246, allocations: 1.401 MB / 1.11 GB, free: 24.34 MB / 0.6823 GB Notification: Performance of SimCode: time 0.005325/0.73, allocations: 3.599 MB / 1.114 GB, free: 22.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.04544/0.7754, allocations: 31.4 MB / 1.144 GB, free: 6.602 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)