Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 96.42 kB / 16.67 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 179.8 kB / 17.58 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7644/0.7644, allocations: 115.5 MB / 408.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4619, allocations: 77.51 MB / 0.5606 GB, free: 36.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.117/0.5789, allocations: 127.9 MB / 0.6855 GB, free: 3.156 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.03812/0.6171, allocations: 24.99 MB / 0.7099 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006317/0.6234, allocations: 123.2 kB / 0.71 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005587/0.6291, allocations: 1.418 MB / 0.7114 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01499/0.6441, allocations: 4.16 MB / 0.7154 GB, free: 4.391 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.6542, allocations: 3.204 MB / 0.7186 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01622/0.6704, allocations: 11.42 MB / 0.7297 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004714/0.6751, allocations: 2.52 MB / 0.7322 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007232/0.6824, allocations: 2.749 MB / 0.7349 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004936/0.6874, allocations: 2.306 MB / 0.7371 GB, free: 14.13 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.000885/0.6883, allocations: 128 kB / 0.7372 GB, free: 14 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007705/0.696, allocations: 2.468 MB / 0.7397 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.6972, allocations: 0.6182 MB / 0.7403 GB, free: 10.91 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003475/0.7007, allocations: 1.708 MB / 0.7419 GB, free: 9.191 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.008201/0.7089, allocations: 4.836 MB / 0.7466 GB, free: 4.344 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.709, allocations: 0 / 0.7466 GB, free: 4.344 MB / 0.5763 GB Notification: Performance of FrontEnd: time 3.336e-06/0.709, allocations: 3.938 kB / 0.7467 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001631/0.7092, allocations: 0 / 0.7467 GB, free: 4.34 MB / 0.5763 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.007651/0.7168, allocations: 3.363 MB / 0.7499 GB, free: 0.875 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.7169, allocations: 8.031 kB / 0.7499 GB, free: 0.8672 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3655/1.082, allocations: 1.367 MB / 0.7513 GB, free: 167.4 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007294/1.09, allocations: 2.931 MB / 0.7541 GB, free: 166 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/1.09, allocations: 249 kB / 0.7544 GB, free: 165.8 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006417/1.091, allocations: 234.7 kB / 0.7546 GB, free: 165.8 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009573/1.1, allocations: 3.171 MB / 0.7577 GB, free: 164.4 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.6e-05/1.101, allocations: 15.16 kB / 0.7577 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003213/1.101, allocations: 102.9 kB / 0.7578 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/1.101, allocations: 73.92 kB / 0.7579 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009969/1.111, allocations: 2.784 MB / 0.7606 GB, free: 163.4 MB / 0.5763 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.02448/1.135, allocations: 13.3 MB / 0.7736 GB, free: 154.4 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004242/1.14, allocations: 1.43 MB / 0.775 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003152/1.143, allocations: 0.8992 MB / 0.7759 GB, free: 153.6 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/1.145, allocations: 1.783 MB / 0.7776 GB, free: 151.6 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003593/1.148, allocations: 1.167 MB / 0.7787 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=126): time 3.587e-06/1.148, allocations: 3.75 kB / 0.7787 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=126): time 0.02298/1.171, allocations: 4.295 MB / 0.7829 GB, free: 149.1 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/1.172, allocations: 0.5725 MB / 0.7835 GB, free: 148.4 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/1.177, allocations: 2.507 MB / 0.786 GB, free: 147.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0006565/1.177, allocations: 63.11 kB / 0.786 GB, free: 147 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/1.179, allocations: 1.352 MB / 0.7873 GB, free: 145.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007814/1.18, allocations: 446.3 kB / 0.7878 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/1.18, allocations: 147.8 kB / 0.7879 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 7.274e-05/1.18, allocations: 302.8 kB / 0.7882 GB, free: 145.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005161/1.185, allocations: 0.9743 MB / 0.7891 GB, free: 144.6 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005858/1.191, allocations: 1.563 MB / 0.7907 GB, free: 143.4 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009641/1.201, allocations: 2.228 MB / 0.7928 GB, free: 142 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-05/1.201, allocations: 7.906 kB / 0.7928 GB, free: 142 MB / 0.5763 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01487/1.216, allocations: 3.099 MB / 0.7959 GB, free: 140.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003493/1.216, allocations: 480.4 kB / 0.7963 GB, free: 139.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.736e-05/1.216, allocations: 11.81 kB / 0.7963 GB, free: 139.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/1.22, allocations: 0.7151 MB / 0.797 GB, free: 139.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/1.224, allocations: 0.4989 MB / 0.7975 GB, free: 139.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/1.227, allocations: 1.803 MB / 0.7993 GB, free: 137.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006636/1.233, allocations: 0.5067 MB / 0.7998 GB, free: 137.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004892/1.234, allocations: 103.1 kB / 0.7999 GB, free: 137.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.234, allocations: 7.906 kB / 0.7999 GB, free: 137.6 MB / 0.5763 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01126/1.245, allocations: 2.811 MB / 0.8026 GB, free: 136 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/1.245, allocations: 12 kB / 0.8026 GB, free: 135.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/1.247, allocations: 0.7257 MB / 0.8034 GB, free: 135.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/1.25, allocations: 0.4914 MB / 0.8038 GB, free: 134.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/1.252, allocations: 1.807 MB / 0.8056 GB, free: 132.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/1.257, allocations: 451.8 kB / 0.806 GB, free: 132.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003724/1.257, allocations: 107.9 kB / 0.8061 GB, free: 132.3 MB / 0.5763 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001981/1.259, allocations: 0.6997 MB / 0.8068 GB, free: 131.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.26, allocations: 268.8 kB / 0.8071 GB, free: 131.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.272, allocations: 2.595 MB / 0.8096 GB, free: 128.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/1.272, allocations: 22.41 kB / 0.8096 GB, free: 128.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/1.272, allocations: 3.984 kB / 0.8096 GB, free: 128.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009971/1.282, allocations: 2.221 MB / 0.8118 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01695/1.299, allocations: 6.502 MB / 0.8182 GB, free: 119.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/1.299, allocations: 7.938 kB / 0.8182 GB, free: 119.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/1.301, allocations: 308.2 kB / 0.8185 GB, free: 119.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/1.303, allocations: 0.7027 MB / 0.8191 GB, free: 118.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/1.303, allocations: 51.94 kB / 0.8192 GB, free: 118.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/1.305, allocations: 1.79 MB / 0.8209 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.305, allocations: 23.94 kB / 0.821 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.316, allocations: 3.561 MB / 0.8244 GB, free: 113.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/1.318, allocations: 0.6613 MB / 0.8251 GB, free: 112.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/1.319, allocations: 39.92 kB / 0.8251 GB, free: 112.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003845/1.323, allocations: 284.3 kB / 0.8254 GB, free: 112.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/1.323, allocations: 116.5 kB / 0.8255 GB, free: 112.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/1.324, allocations: 71.92 kB / 0.8256 GB, free: 112 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00353/1.327, allocations: 1.766 MB / 0.8273 GB, free: 110.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.1e-07/1.327, allocations: 0 / 0.8273 GB, free: 110.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00611/1.333, allocations: 1.668 MB / 0.8289 GB, free: 108.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * 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 (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002104/1.335, allocations: 0.7991 MB / 0.8297 GB, free: 108 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01172/1.347, allocations: 3.625 MB / 0.8332 GB, free: 104.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/1.347, allocations: 4.438 kB / 0.8333 GB, free: 104.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003155/1.35, allocations: 0.9803 MB / 0.8342 GB, free: 103.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01106/1.361, allocations: 1.43 MB / 0.8356 GB, free: 101.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.375, allocations: 6.463 MB / 0.8419 GB, free: 95.34 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/1.377, allocations: 1.707 MB / 0.8436 GB, free: 93.61 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.378, allocations: 287.2 kB / 0.8439 GB, free: 93.32 MB / 0.5763 GB Notification: Performance of SimCode: time 7.52e-07/1.378, allocations: 0 / 0.8439 GB, free: 93.32 MB / 0.5763 GB Notification: Performance of Templates: time 0.0919/1.47, allocations: 80.49 MB / 0.9225 GB, free: 13.09 MB / 0.5763 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)