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.774/1.774, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001394/0.001394, allocations: 187.9 kB / 377.1 MB, free: 1.555 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.847/1.847, allocations: 205.4 MB / 0.6367 GB, free: 9.605 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.0009207/0.000921, allocations: 92.09 kB / 0.751 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004031, allocations: 12 kB / 0.8748 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2913, allocations: 116.3 MB / 0.9884 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.792/2.084, allocations: 424.8 MB / 1.403 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/2.084, allocations: 101.7 kB / 1.403 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.699/5.783, allocations: 1.045 GB / 2.448 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.625e-06/5.783, allocations: 0 / 2.448 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005755/5.784, allocations: 79.97 kB / 2.448 GB, free: 1.453 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.014/5.798, allocations: 3.687 MB / 2.452 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/5.798, allocations: 12.03 kB / 2.452 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/5.808, allocations: 1.21 MB / 2.453 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/5.82, allocations: 3.321 MB / 2.456 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004949/5.82, allocations: 251.9 kB / 2.456 GB, free: 8.777 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/5.821, allocations: 232 kB / 2.457 GB, free: 8.551 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/5.834, allocations: 3.129 MB / 2.46 GB, free: 5.227 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001622/5.834, allocations: 7.938 kB / 2.46 GB, free: 5.219 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001005/5.835, allocations: 100 kB / 2.46 GB, free: 5.121 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/5.835, allocations: 71.92 kB / 2.46 GB, free: 5.051 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/5.848, allocations: 2.768 MB / 2.463 GB, free: 2.266 MB / 0.9792 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.6835/6.531, allocations: 13.14 MB / 2.475 GB, free: 91.31 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003916/6.535, allocations: 1.499 MB / 2.477 GB, free: 91.09 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/6.537, allocations: 1.775 MB / 2.479 GB, free: 89.12 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003411/6.54, allocations: 1.212 MB / 2.48 GB, free: 88.85 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 3.857e-06/6.54, allocations: 2.031 kB / 2.48 GB, free: 88.85 MB / 0.9792 GB Notification: Performance of matching and sorting (n=118): time 0.02301/6.563, allocations: 4.267 MB / 2.484 GB, free: 88.45 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000294/6.563, allocations: 0.9394 MB / 2.485 GB, free: 87.32 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00628/6.57, allocations: 2.331 MB / 2.487 GB, free: 87.11 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006823/6.57, allocations: 59.27 kB / 2.487 GB, free: 87.07 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001751/6.572, allocations: 1.363 MB / 2.489 GB, free: 86.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008074/6.573, allocations: 416.9 kB / 2.489 GB, free: 86.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/6.573, allocations: 31.91 kB / 2.489 GB, free: 86.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001403/6.573, allocations: 367.2 kB / 2.489 GB, free: 86.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003839/6.577, allocations: 0.9401 MB / 2.49 GB, free: 86.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004501/6.582, allocations: 1.56 MB / 2.492 GB, free: 85.55 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/6.586, allocations: 1.082 MB / 2.493 GB, free: 85.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/6.586, allocations: 4.094 kB / 2.493 GB, free: 85.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01001/6.596, allocations: 2.909 MB / 2.496 GB, free: 85.25 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001097/6.597, allocations: 5.035 MB / 2.501 GB, free: 79.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/6.597, allocations: 11.5 kB / 2.501 GB, free: 79.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/6.599, allocations: 0.7287 MB / 2.501 GB, free: 79.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/6.602, allocations: 0.4887 MB / 2.502 GB, free: 79.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/6.604, allocations: 1.799 MB / 2.504 GB, free: 78.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005972/6.61, allocations: 0.5182 MB / 2.504 GB, free: 78.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005064/6.611, allocations: 105.2 kB / 2.504 GB, free: 78.84 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/6.611, allocations: 3.719 kB / 2.504 GB, free: 78.84 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008677/6.62, allocations: 2.587 MB / 2.507 GB, free: 78.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/6.62, allocations: 14.81 kB / 2.507 GB, free: 78.76 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/6.622, allocations: 0.7162 MB / 2.507 GB, free: 78.74 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/6.625, allocations: 484.6 kB / 2.508 GB, free: 78.74 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/6.627, allocations: 1.799 MB / 2.51 GB, free: 77.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/6.632, allocations: 443.5 kB / 2.51 GB, free: 77.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005075/6.633, allocations: 104.4 kB / 2.51 GB, free: 77.64 MB / 0.9792 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 () * Number of clocked 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.002585/6.635, allocations: 0.695 MB / 2.511 GB, free: 77.45 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/6.637, allocations: 272.5 kB / 2.511 GB, free: 77.32 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/6.647, allocations: 2.282 MB / 2.513 GB, free: 77.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.722e-05/6.647, allocations: 16.8 kB / 2.513 GB, free: 77.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/6.647, allocations: 6.156 kB / 2.513 GB, free: 77.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008117/6.655, allocations: 2.059 MB / 2.515 GB, free: 76.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/6.675, allocations: 6.974 MB / 2.522 GB, free: 74.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.413e-05/6.675, allocations: 8.594 kB / 2.522 GB, free: 74.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/6.677, allocations: 294.5 kB / 2.522 GB, free: 74.93 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/6.68, allocations: 0.705 MB / 2.523 GB, free: 74.91 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/6.68, allocations: 56.12 kB / 2.523 GB, free: 74.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/6.682, allocations: 1.783 MB / 2.525 GB, free: 73.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/6.682, allocations: 12.03 kB / 2.525 GB, free: 73.86 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/6.694, allocations: 4.098 MB / 2.529 GB, free: 72.37 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002737/6.697, allocations: 0.6567 MB / 2.53 GB, free: 72.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/6.698, allocations: 39.73 kB / 2.53 GB, free: 72.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00438/6.703, allocations: 284.7 kB / 2.53 GB, free: 72.13 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/6.703, allocations: 112.5 kB / 2.53 GB, free: 72.13 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/6.704, allocations: 67.97 kB / 2.53 GB, free: 72.13 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.005044/6.709, allocations: 1.83 MB / 2.532 GB, free: 71.98 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.4e-07/6.709, allocations: 0 / 2.532 GB, free: 71.98 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009873/6.718, allocations: 1.836 MB / 2.534 GB, free: 71.9 MB / 0.9792 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) * Number of clocked states: 0 () * 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.004626/6.723, allocations: 1.5 MB / 2.535 GB, free: 71.61 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01318/6.736, allocations: 3.492 MB / 2.538 GB, free: 71.44 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.557e-05/6.736, allocations: 3.125 kB / 2.538 GB, free: 71.44 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00399/6.74, allocations: 1.034 MB / 2.539 GB, free: 71.43 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008601/6.749, allocations: 1.406 MB / 2.541 GB, free: 71.39 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/6.766, allocations: 6.096 MB / 2.547 GB, free: 68.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002323/6.768, allocations: 1.765 MB / 2.549 GB, free: 68.07 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005448/6.773, allocations: 0.6917 MB / 2.549 GB, free: 68.04 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/6.775, allocations: 234.9 kB / 2.549 GB, free: 68.03 MB / 0.9792 GB Notification: Performance of SimCode: time 1.362e-06/6.775, allocations: 0 / 2.549 GB, free: 68.03 MB / 0.9792 GB Notification: Performance of Templates: time 0.1366/6.911, allocations: 72.14 MB / 2.62 GB, free: 63.91 MB / 0.9792 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)