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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009253, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008881/0.0008882, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.601/1.601, allocations: 292.5 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004836, allocations: 18 kB / 0.6735 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2007, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.09747/0.2982, allocations: 109.3 MB / 0.8939 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4646/0.7629, allocations: 21.19 MB / 0.9146 GB, free: 39.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004862/0.7678, allocations: 114.4 kB / 0.9147 GB, free: 39.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004958/0.7728, allocations: 1.455 MB / 0.9161 GB, free: 39.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01449/0.7873, allocations: 4.079 MB / 0.9201 GB, free: 39.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009563/0.7969, allocations: 3.162 MB / 0.9232 GB, free: 39.47 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.8074, allocations: 5.053 MB / 0.9281 GB, free: 39.46 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003603/0.811, allocations: 2.283 MB / 0.9303 GB, free: 39.17 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005375/0.8164, allocations: 2.42 MB / 0.9327 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.8194, allocations: 1.568 MB / 0.9342 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000532/0.82, allocations: 133 kB / 0.9344 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00609/0.8261, allocations: 1.74 MB / 0.9361 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007647/0.8269, allocations: 0.5671 MB / 0.9366 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.8282, allocations: 0.7283 MB / 0.9373 GB, free: 39.12 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00577/0.834, allocations: 4.556 MB / 0.9418 GB, free: 38.83 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.834, allocations: 0 / 0.9418 GB, free: 38.83 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.834, allocations: 4.719 kB / 0.9418 GB, free: 38.83 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.713e-05/0.8341, allocations: 0 / 0.9418 GB, free: 38.83 MB / 0.7169 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.006736/0.8409, allocations: 3.348 MB / 0.945 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.8409, allocations: 8.688 kB / 0.9451 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009447/0.8504, allocations: 1.365 MB / 0.9464 GB, free: 36.85 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005285/0.8557, allocations: 2.688 MB / 0.949 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.8559, allocations: 250.2 kB / 0.9493 GB, free: 36.28 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004575/0.8564, allocations: 239.3 kB / 0.9495 GB, free: 36.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007027/0.8634, allocations: 3.134 MB / 0.9525 GB, free: 35.61 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.421e-05/0.8635, allocations: 8.188 kB / 0.9525 GB, free: 35.61 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002801/0.8638, allocations: 103.1 kB / 0.9526 GB, free: 35.61 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.8639, allocations: 71.41 kB / 0.9527 GB, free: 35.61 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007851/0.8718, allocations: 2.775 MB / 0.9554 GB, free: 35.07 MB / 0.7169 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.01732/0.8891, allocations: 13.38 MB / 0.9685 GB, free: 26.95 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/0.8927, allocations: 1.421 MB / 0.9699 GB, free: 26.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.894, allocations: 1.779 MB / 0.9716 GB, free: 24.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003022/0.897, allocations: 1.161 MB / 0.9727 GB, free: 24.21 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 3.116e-06/0.897, allocations: 0 / 0.9727 GB, free: 24.21 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126): time 0.01873/0.9158, allocations: 4.248 MB / 0.9769 GB, free: 22.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.9159, allocations: 0.5838 MB / 0.9775 GB, free: 22.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003737/0.9197, allocations: 2.575 MB / 0.98 GB, free: 21.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.9199, allocations: 60.95 kB / 0.98 GB, free: 21.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.9209, allocations: 1.349 MB / 0.9814 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.9213, allocations: 442.9 kB / 0.9818 GB, free: 20.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.9214, allocations: 34.34 kB / 0.9818 GB, free: 20.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.9215, allocations: 372.9 kB / 0.9822 GB, free: 20.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003065/0.9246, allocations: 0.9594 MB / 0.9831 GB, free: 19.96 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/0.9281, allocations: 1.556 MB / 0.9846 GB, free: 19.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/0.9314, allocations: 1.091 MB / 0.9857 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.9314, allocations: 5.438 kB / 0.9857 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01063/0.942, allocations: 3.108 MB / 0.9887 GB, free: 18.12 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008939/0.9429, allocations: 5.026 MB / 0.9936 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.943, allocations: 10.81 kB / 0.9936 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.9454, allocations: 0.7175 MB / 0.9943 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.9478, allocations: 0.5127 MB / 0.9948 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.9497, allocations: 1.791 MB / 0.9966 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/0.9544, allocations: 0.5178 MB / 0.9971 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.9546, allocations: 108.9 kB / 0.9972 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.9546, allocations: 5.031 kB / 0.9972 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009522/0.9642, allocations: 2.832 MB / 1 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.9642, allocations: 12 kB / 1 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.9663, allocations: 0.7251 MB / 1.001 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.9686, allocations: 0.5043 MB / 1.001 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.9703, allocations: 1.803 MB / 1.003 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004073/0.9744, allocations: 475.2 kB / 1.003 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.9745, allocations: 105.8 kB / 1.004 GB, free: 6.945 MB / 0.7169 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,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * 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 (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.001539/0.9761, allocations: 0.6929 MB / 1.004 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/0.9766, allocations: 268.8 kB / 1.004 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009609/0.9862, allocations: 2.599 MB / 1.007 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.9862, allocations: 16 kB / 1.007 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.9862, allocations: 7.984 kB / 1.007 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00861/0.9948, allocations: 2.214 MB / 1.009 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/1.01, allocations: 6.539 MB / 1.016 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.01, allocations: 10.7 kB / 1.016 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.011, allocations: 293.4 kB / 1.016 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/1.014, allocations: 0.7048 MB / 1.017 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/1.014, allocations: 51.94 kB / 1.017 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/1.016, allocations: 1.788 MB / 1.018 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/1.016, allocations: 17.58 kB / 1.018 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.027, allocations: 4.285 MB / 1.023 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/1.03, allocations: 0.6808 MB / 1.023 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007238/1.031, allocations: 39.98 kB / 1.023 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003269/1.034, allocations: 286.9 kB / 1.023 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/1.034, allocations: 117 kB / 1.024 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/1.035, allocations: 71.92 kB / 1.024 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003568/1.038, allocations: 1.813 MB / 1.025 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/1.038, allocations: 0 / 1.025 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005841/1.044, allocations: 1.692 MB / 1.027 GB, free: 268 kB / 0.7325 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 (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.002035/1.046, allocations: 0.8213 MB / 1.028 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.058, allocations: 3.592 MB / 1.031 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.058, allocations: 4.438 kB / 1.031 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003427/1.061, allocations: 1.046 MB / 1.032 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007034/1.068, allocations: 1.388 MB / 1.034 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/1.082, allocations: 6.1 MB / 1.04 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.083, allocations: 1.765 MB / 1.041 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003662/1.087, allocations: 0.6927 MB / 1.042 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006923/1.087, allocations: 233.8 kB / 1.042 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of SimCode: time 1.092e-06/1.087, allocations: 6.625 kB / 1.042 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of Templates: time 0.1018/1.189, allocations: 66.16 MB / 1.107 GB, free: 15.73 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: