Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001306/0.001306, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001306/0.001306, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.348/1.348, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7865/0.7865, allocations: 132.2 MB / 423.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.81 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1479, allocations: 80.21 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.4661/0.614, allocations: 130.8 MB / 0.7881 GB, free: 19.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03538/0.6494, allocations: 25.05 MB / 0.8126 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005993/0.6555, allocations: 135.4 kB / 0.8127 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004668/0.6602, allocations: 1.79 MB / 0.8145 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01129/0.6715, allocations: 4.722 MB / 0.8191 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008146/0.6797, allocations: 3.52 MB / 0.8225 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01214/0.6918, allocations: 9.031 MB / 0.8313 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005693/0.6976, allocations: 3.212 MB / 0.8345 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008277/0.7059, allocations: 3.529 MB / 0.8379 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005198/0.7111, allocations: 2.473 MB / 0.8403 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.7124, allocations: 388 kB / 0.8407 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008071/0.7205, allocations: 2.89 MB / 0.8435 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.722, allocations: 0.8839 MB / 0.8444 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003781/0.7258, allocations: 1.987 MB / 0.8463 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.737, allocations: 6.356 MB / 0.8525 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.7371, allocations: 0 / 0.8525 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7371, allocations: 0 / 0.8525 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001514/0.7373, allocations: 0 / 0.8525 GB, free: 7.512 MB / 0.6075 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.008802/0.7461, allocations: 4.071 MB / 0.8565 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.7461, allocations: 12.03 kB / 0.8565 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.7565, allocations: 1.284 MB / 0.8578 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00633/0.7629, allocations: 2.972 MB / 0.8607 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.7632, allocations: 267.8 kB / 0.8609 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006554/0.7639, allocations: 231.9 kB / 0.8611 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008659/0.7726, allocations: 3.12 MB / 0.8642 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.558e-05/0.7727, allocations: 11.88 kB / 0.8642 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00042/0.7731, allocations: 96 kB / 0.8643 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.717e-05/0.7732, allocations: 75.94 kB / 0.8644 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00928/0.7825, allocations: 2.713 MB / 0.867 GB, free: 8.27 MB / 0.6231 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.02103/0.8035, allocations: 13.23 MB / 0.8799 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004232/0.8078, allocations: 1.389 MB / 0.8813 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.8109, allocations: 0.8736 MB / 0.8821 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/0.8127, allocations: 1.778 MB / 0.8839 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003705/0.8164, allocations: 1.138 MB / 0.885 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 7.644e-06/0.8164, allocations: 0 / 0.885 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126): time 0.02239/0.8388, allocations: 4.068 MB / 0.889 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002427/0.8391, allocations: 0.5727 MB / 0.8895 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004795/0.8439, allocations: 2.544 MB / 0.892 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003687/0.8443, allocations: 65.7 kB / 0.8921 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.8456, allocations: 1.336 MB / 0.8934 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006784/0.8463, allocations: 445.7 kB / 0.8938 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.8474, allocations: 454.9 kB / 0.8942 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.8475, allocations: 305.1 kB / 0.8945 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/0.8512, allocations: 0.9494 MB / 0.8955 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00424/0.8555, allocations: 1.525 MB / 0.8969 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007219/0.8627, allocations: 2.155 MB / 0.899 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/0.8628, allocations: 5 kB / 0.8991 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01184/0.8746, allocations: 3.019 MB / 0.902 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.8747, allocations: 37.69 kB / 0.902 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.8747, allocations: 12.12 kB / 0.902 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/0.8773, allocations: 0.7033 MB / 0.9027 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002918/0.8803, allocations: 499.1 kB / 0.9032 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.8828, allocations: 1.782 MB / 0.905 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004753/0.8876, allocations: 409.5 kB / 0.9053 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004159/0.888, allocations: 107.9 kB / 0.9054 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005162/0.8932, allocations: 1.438 MB / 0.9068 GB, free: 13.65 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004356/0.8976, allocations: 1.501 MB / 0.9083 GB, free: 11.92 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006998/0.9046, allocations: 2.125 MB / 0.9104 GB, free: 9.625 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.355e-05/0.9047, allocations: 4 kB / 0.9104 GB, free: 9.621 MB / 0.67 GB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.01176/0.9164, allocations: 2.987 MB / 0.9133 GB, free: 6.609 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.9165, allocations: 39.27 kB / 0.9133 GB, free: 6.566 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.9166, allocations: 12 kB / 0.9134 GB, free: 6.555 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/0.9191, allocations: 0.7118 MB / 0.9141 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/0.9219, allocations: 495.2 kB / 0.9145 GB, free: 5.363 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.9243, allocations: 1.778 MB / 0.9163 GB, free: 3.535 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/0.929, allocations: 363 kB / 0.9166 GB, free: 3.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/0.9293, allocations: 99.91 kB / 0.9167 GB, free: 3.082 MB / 0.67 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.0007309/0.93, allocations: 305 kB / 0.917 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000966/0.931, allocations: 272.7 kB / 0.9173 GB, free: 2.508 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.9427, allocations: 2.499 MB / 0.9197 GB, free: 0 / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01052/0.9533, allocations: 2.117 MB / 0.9218 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/0.9533, allocations: 7.938 kB / 0.9218 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/0.9553, allocations: 0.5755 MB / 0.9223 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/0.9564, allocations: 24 kB / 0.9224 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00346/0.9599, allocations: 199.8 kB / 0.9225 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/0.9602, allocations: 92.86 kB / 0.9226 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01084/0.971, allocations: 2.954 MB / 0.9255 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01043/0.9815, allocations: 3.575 MB / 0.929 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002956/0.9845, allocations: 0.8391 MB / 0.9298 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003627/0.9881, allocations: 1.762 MB / 0.9316 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of Backend: time 5.21e-07/0.9881, allocations: 7.938 kB / 0.9316 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01481/1.003, allocations: 3.875 MB / 0.9353 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01242/1.015, allocations: 6.211 MB / 0.9414 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of Templates: time 0.1266/1.142, allocations: 86.94 MB / 1.026 GB, free: 3.18 MB / 0.7794 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)