Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001055/0.001055, allocations: 184.8 kB / 366.7 MB, free: 1.652 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.705/1.705, allocations: 205.2 MB / 0.626 GB, free: 7.199 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 95.17 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.391e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7119/0.712, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.74, allocations: 424 MB / 1.387 GB, free: 133 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.74, allocations: 97.47 kB / 1.387 GB, free: 133 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.564/5.305, allocations: 1.036 GB / 2.424 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.723e-06/5.305, allocations: 0 / 2.424 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003886/5.305, allocations: 82.39 kB / 2.424 GB, free: 107.6 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.00979/5.315, allocations: 3.174 MB / 2.427 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/5.315, allocations: 8.469 kB / 2.427 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009148/5.324, allocations: 1.219 MB / 2.428 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007948/5.332, allocations: 3.296 MB / 2.431 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/5.333, allocations: 167.6 kB / 2.432 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/5.333, allocations: 136.6 kB / 2.432 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003902/5.337, allocations: 1.968 MB / 2.434 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004369/5.341, allocations: 2.464 MB / 2.436 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.694e-05/5.341, allocations: 7.594 kB / 2.436 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/5.342, allocations: 8.219 kB / 2.436 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.841e-05/5.342, allocations: 71.52 kB / 2.436 GB, free: 105.2 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01923/5.361, allocations: 12.63 MB / 2.448 GB, free: 99.69 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/5.362, allocations: 1.116 MB / 2.45 GB, free: 99.47 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007147/5.363, allocations: 0.59 MB / 2.45 GB, free: 99.46 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/5.364, allocations: 1.776 MB / 2.452 GB, free: 97.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/5.366, allocations: 0.9156 MB / 2.453 GB, free: 97.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 4.138e-06/5.366, allocations: 0 / 2.453 GB, free: 97.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=118): time 0.006646/5.372, allocations: 1.838 MB / 2.455 GB, free: 97 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002125/5.373, allocations: 0.9399 MB / 2.455 GB, free: 95.88 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/5.375, allocations: 1.848 MB / 2.457 GB, free: 95.65 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002603/5.376, allocations: 36.36 kB / 2.457 GB, free: 95.62 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/5.377, allocations: 1.38 MB / 2.459 GB, free: 95.05 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/5.377, allocations: 397 kB / 2.459 GB, free: 94.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/5.377, allocations: 3.844 kB / 2.459 GB, free: 94.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/5.377, allocations: 371.1 kB / 2.459 GB, free: 94.49 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008755/5.378, allocations: 0.5938 MB / 2.46 GB, free: 94.48 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/5.379, allocations: 1.192 MB / 2.461 GB, free: 93.83 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/5.383, allocations: 0.965 MB / 2.462 GB, free: 93.82 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/5.383, allocations: 3.562 kB / 2.462 GB, free: 93.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00578/5.388, allocations: 2.277 MB / 2.464 GB, free: 93.62 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009151/5.389, allocations: 4.937 MB / 2.469 GB, free: 88.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/5.389, allocations: 13.41 kB / 2.469 GB, free: 88.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/5.39, allocations: 0.5306 MB / 2.47 GB, free: 88.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/5.393, allocations: 499 kB / 2.47 GB, free: 88.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/5.395, allocations: 1.785 MB / 2.472 GB, free: 87.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00465/5.399, allocations: 459.2 kB / 2.472 GB, free: 87.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/5.4, allocations: 102.1 kB / 2.472 GB, free: 87.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/5.4, allocations: 2.906 kB / 2.472 GB, free: 87.18 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00514/5.405, allocations: 1.989 MB / 2.474 GB, free: 87.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/5.405, allocations: 13.38 kB / 2.474 GB, free: 87.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009922/5.406, allocations: 0.5264 MB / 2.475 GB, free: 87.11 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/5.408, allocations: 484.3 kB / 2.475 GB, free: 87.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/5.41, allocations: 1.784 MB / 2.477 GB, free: 86.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/5.414, allocations: 366.4 kB / 2.477 GB, free: 86 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003102/5.415, allocations: 99.95 kB / 2.478 GB, free: 86 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006811/5.415, allocations: 172.3 kB / 2.478 GB, free: 85.88 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007867/5.416, allocations: 243.3 kB / 2.478 GB, free: 85.75 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006771/5.423, allocations: 1.844 MB / 2.48 GB, free: 85.62 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/5.423, allocations: 18.5 kB / 2.48 GB, free: 85.62 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/5.423, allocations: 7.828 kB / 2.48 GB, free: 85.62 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005422/5.429, allocations: 1.669 MB / 2.481 GB, free: 85.32 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/5.44, allocations: 6.248 MB / 2.487 GB, free: 83.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/5.441, allocations: 8.625 kB / 2.487 GB, free: 83.37 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/5.442, allocations: 299.2 kB / 2.488 GB, free: 83.37 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009981/5.443, allocations: 0.52 MB / 2.488 GB, free: 83.35 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.625e-05/5.443, allocations: 38.17 kB / 2.488 GB, free: 83.35 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/5.445, allocations: 1.77 MB / 2.49 GB, free: 82.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/5.445, allocations: 11.06 kB / 2.49 GB, free: 82.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006803/5.452, allocations: 3.302 MB / 2.493 GB, free: 81.03 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/5.454, allocations: 0.6196 MB / 2.494 GB, free: 80.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004253/5.454, allocations: 17.28 kB / 2.494 GB, free: 80.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/5.457, allocations: 256.2 kB / 2.494 GB, free: 80.79 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/5.457, allocations: 108.5 kB / 2.494 GB, free: 80.79 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/5.457, allocations: 69.64 kB / 2.494 GB, free: 80.79 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001938/5.459, allocations: 1.384 MB / 2.496 GB, free: 80.64 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.01e-07/5.459, allocations: 0 / 2.496 GB, free: 80.64 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005243/5.464, allocations: 1.804 MB / 2.497 GB, free: 80.32 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002646/5.467, allocations: 1.488 MB / 2.499 GB, free: 79.91 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004039/5.471, allocations: 2.551 MB / 2.501 GB, free: 79.73 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/5.471, allocations: 8.438 kB / 2.501 GB, free: 79.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/5.472, allocations: 0.7358 MB / 2.502 GB, free: 79.72 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00547/5.478, allocations: 1.087 MB / 2.503 GB, free: 79.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009115/5.487, allocations: 3.859 MB / 2.507 GB, free: 78.56 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/5.488, allocations: 1.773 MB / 2.509 GB, free: 77.82 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004046/5.492, allocations: 0.7589 MB / 2.509 GB, free: 77.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/5.493, allocations: 179.8 kB / 2.51 GB, free: 77.79 MB / 0.9636 GB Notification: Performance of SimCode: time 1.193e-06/5.493, allocations: 1.5 kB / 2.51 GB, free: 77.79 MB / 0.9636 GB Notification: Performance of Templates: time 0.09062/5.583, allocations: 63.15 MB / 2.571 GB, free: 73.83 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)