Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6864/0.6864, allocations: 128.7 MB / 144.5 MB, free: 1.367 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 186 kB / 174.2 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205 MB / 408.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009941/0.0009944, allocations: 94.25 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 54.64 kB / 0.558 GB, free: 97.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1253, allocations: 75.47 MB / 0.6317 GB, free: 33.08 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.06515/0.1905, allocations: 79.65 MB / 0.7095 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01862/0.2091, allocations: 15.11 MB / 0.7242 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.2117, allocations: 59.69 kB / 0.7243 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.2143, allocations: 0.6994 MB / 0.725 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.007268/0.2216, allocations: 2.44 MB / 0.7273 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.225, allocations: 1.143 MB / 0.7284 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00697/0.2319, allocations: 5.791 MB / 0.7341 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.2341, allocations: 1.19 MB / 0.7353 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.2374, allocations: 1.478 MB / 0.7367 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.2396, allocations: 1.256 MB / 0.7379 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002878/0.2399, allocations: 79.94 kB / 0.738 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.2425, allocations: 1.134 MB / 0.7391 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003719/0.2429, allocations: 314.6 kB / 0.7394 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.244, allocations: 0.8317 MB / 0.7402 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.2636/0.5076, allocations: 2.906 MB / 0.7431 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.5077, allocations: 0 / 0.7431 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5077, allocations: 0 / 0.7431 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.558e-05/0.5077, allocations: 0 / 0.7431 GB, free: 37.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003833/0.5116, allocations: 2.111 MB / 0.7451 GB, free: 36.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5116, allocations: 7.594 kB / 0.7451 GB, free: 36.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009559/0.5126, allocations: 236.2 kB / 0.7454 GB, free: 36.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.5153, allocations: 1.498 MB / 0.7468 GB, free: 36.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.5154, allocations: 78.77 kB / 0.7469 GB, free: 36.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.5155, allocations: 111.5 kB / 0.747 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.518, allocations: 1.235 MB / 0.7482 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.518, allocations: 5.375 kB / 0.7482 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.277e-05/0.5181, allocations: 38.88 kB / 0.7483 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.5181, allocations: 39.11 kB / 0.7483 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.5202, allocations: 0.9872 MB / 0.7493 GB, free: 35.94 MB / 0.5105 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.005/0.5252, allocations: 5.59 MB / 0.7547 GB, free: 33.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.527, allocations: 0.6588 MB / 0.7554 GB, free: 33.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.5276, allocations: 296.7 kB / 0.7556 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/0.528, allocations: 0.5065 MB / 0.7561 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.528, allocations: 38.78 kB / 0.7562 GB, free: 32.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 2.635e-06/0.528, allocations: 1.312 kB / 0.7562 GB, free: 32.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.007899/0.5359, allocations: 1.733 MB / 0.7579 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.536, allocations: 58.66 kB / 0.7579 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.5375, allocations: 1.271 MB / 0.7592 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.5376, allocations: 36.23 kB / 0.7592 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/0.538, allocations: 0.6663 MB / 0.7599 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.5382, allocations: 195.2 kB / 0.76 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.5384, allocations: 163.7 kB / 0.7602 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.5385, allocations: 337.7 kB / 0.7605 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006928/0.5392, allocations: 300.7 kB / 0.7608 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008405/0.5401, allocations: 0.5699 MB / 0.7614 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.5415, allocations: 0.7848 MB / 0.7621 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.5415, allocations: 2.531 kB / 0.7621 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004501/0.546, allocations: 1.356 MB / 0.7635 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5461, allocations: 7.688 kB / 0.7635 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5461, allocations: 7.781 kB / 0.7635 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/0.5467, allocations: 141.3 kB / 0.7636 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.5473, allocations: 188.4 kB / 0.7638 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000661/0.548, allocations: 0.7117 MB / 0.7645 GB, free: 29.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.5492, allocations: 174 kB / 0.7646 GB, free: 29.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.714e-05/0.5493, allocations: 39.02 kB / 0.7647 GB, free: 29.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009446/0.5502, allocations: 0.5552 MB / 0.7652 GB, free: 29.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007341/0.551, allocations: 0.5538 MB / 0.7658 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001255/0.5522, allocations: 0.7541 MB / 0.7665 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.999e-06/0.5523, allocations: 2.688 kB / 0.7665 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004418/0.5567, allocations: 1.318 MB / 0.7678 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.5567, allocations: 7.062 kB / 0.7678 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5567, allocations: 7.5 kB / 0.7678 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/0.5572, allocations: 147.7 kB / 0.7679 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.5578, allocations: 164.7 kB / 0.7681 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006446/0.5584, allocations: 0.7069 MB / 0.7688 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.5596, allocations: 149.1 kB / 0.7689 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.5597, allocations: 45.78 kB / 0.769 GB, free: 28.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (86): * Single equations (assignments): 85 * 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.0002076/0.5599, allocations: 223.6 kB / 0.7692 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.5601, allocations: 141.1 kB / 0.7693 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.5646, allocations: 1.153 MB / 0.7705 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.5646, allocations: 6.578 kB / 0.7705 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5646, allocations: 0 / 0.7705 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003947/0.5686, allocations: 1.062 MB / 0.7715 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/0.5748, allocations: 2.518 MB / 0.774 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.5748, allocations: 4.438 kB / 0.774 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.5753, allocations: 115.4 kB / 0.7741 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/0.5758, allocations: 135.6 kB / 0.7742 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.5758, allocations: 18.44 kB / 0.7742 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.5801, allocations: 2.378 MB / 0.7765 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.5801, allocations: 3.812 kB / 0.7765 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03066/0.6108, allocations: 10.6 MB / 0.7869 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/0.6114, allocations: 302.9 kB / 0.7872 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.6115, allocations: 13.28 kB / 0.7872 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/0.6124, allocations: 87.66 kB / 0.7873 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.6126, allocations: 58.94 kB / 0.7873 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.6126, allocations: 27.62 kB / 0.7874 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001079/0.6137, allocations: 0.886 MB / 0.7882 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6137, allocations: 2.875 kB / 0.7882 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002809/0.6166, allocations: 1.11 MB / 0.7893 GB, free: 21.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006538/0.6172, allocations: 390.9 kB / 0.7897 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.6197, allocations: 1.14 MB / 0.7908 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6197, allocations: 448 / 0.7908 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.621, allocations: 0.5421 MB / 0.7913 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003872/0.6249, allocations: 0.7919 MB / 0.7921 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/0.6303, allocations: 3.47 MB / 0.7955 GB, free: 19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.6309, allocations: 1.199 MB / 0.7967 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001295/0.6322, allocations: 296.9 kB / 0.7969 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.6324, allocations: 110.9 kB / 0.7971 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of SimCode: time 7.92e-07/0.6324, allocations: 0 / 0.7971 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.04564/0.6781, allocations: 33.8 MB / 0.8301 GB, free: 1.844 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)