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.001067/0.001067, allocations: 95.88 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 176.6 kB / 16.57 MB, free: 6.855 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.309/1.309, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6665/0.6665, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 8 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 77.16 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.3317/0.4691, allocations: 109.4 MB / 0.6636 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02839/0.4975, allocations: 21.4 MB / 0.6845 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/0.5012, allocations: 115.2 kB / 0.6846 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003999/0.5052, allocations: 1.457 MB / 0.6861 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.5165, allocations: 4.197 MB / 0.6902 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008295/0.5249, allocations: 3.137 MB / 0.6932 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009148/0.534, allocations: 5.1 MB / 0.6982 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003417/0.5375, allocations: 2.266 MB / 0.7004 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005214/0.5427, allocations: 2.425 MB / 0.7028 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.5451, allocations: 1.567 MB / 0.7043 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.5456, allocations: 128 kB / 0.7044 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005322/0.5509, allocations: 1.748 MB / 0.7061 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006014/0.5515, allocations: 0.568 MB / 0.7067 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008878/0.5524, allocations: 0.7266 MB / 0.7074 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.5573, allocations: 4.561 MB / 0.7119 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5573, allocations: 4 kB / 0.7119 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5573, allocations: 0 / 0.7119 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.917e-05/0.5574, allocations: 0 / 0.7119 GB, free: 11.05 MB / 0.5294 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.005742/0.5631, allocations: 3.344 MB / 0.7151 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5632, allocations: 12.03 kB / 0.7151 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009644/0.5728, allocations: 1.362 MB / 0.7165 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/0.5772, allocations: 2.725 MB / 0.7191 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.5774, allocations: 251.9 kB / 0.7194 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003426/0.5778, allocations: 236 kB / 0.7196 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006656/0.5844, allocations: 3.138 MB / 0.7227 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.5845, allocations: 11.94 kB / 0.7227 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002574/0.5848, allocations: 100 kB / 0.7228 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/0.5848, allocations: 67.98 kB / 0.7228 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008206/0.5931, allocations: 2.772 MB / 0.7255 GB, free: 12.64 MB / 0.545 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.01909/0.6122, allocations: 13.36 MB / 0.7386 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/0.616, allocations: 1.432 MB / 0.74 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/0.6176, allocations: 1.781 MB / 0.7417 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003265/0.6209, allocations: 1.161 MB / 0.7429 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=126): time 3.045e-06/0.6209, allocations: 0 / 0.7429 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=126): time 0.0203/0.6413, allocations: 4.242 MB / 0.747 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/0.6415, allocations: 0.5782 MB / 0.7476 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/0.6452, allocations: 2.587 MB / 0.7501 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002078/0.6454, allocations: 65.7 kB / 0.7502 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.6465, allocations: 1.352 MB / 0.7515 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/0.6469, allocations: 445.7 kB / 0.7519 GB, free: 360 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.647, allocations: 35.94 kB / 0.7519 GB, free: 324 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6471, allocations: 369.9 kB / 0.7523 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003437/0.6506, allocations: 0.9603 MB / 0.7532 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003795/0.6544, allocations: 1.541 MB / 0.7547 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/0.658, allocations: 1.101 MB / 0.7558 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.658, allocations: 4 kB / 0.7558 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01133/0.6693, allocations: 3.109 MB / 0.7588 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001462/0.6708, allocations: 5.023 MB / 0.7637 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.6708, allocations: 12 kB / 0.7638 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/0.6733, allocations: 0.7247 MB / 0.7645 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.6761, allocations: 0.5031 MB / 0.765 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.6782, allocations: 1.796 MB / 0.7667 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/0.6827, allocations: 0.5099 MB / 0.7672 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.6829, allocations: 103.9 kB / 0.7673 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.6829, allocations: 4 kB / 0.7673 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01101/0.6939, allocations: 2.837 MB / 0.7701 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.694, allocations: 16.16 kB / 0.7701 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002393/0.6964, allocations: 0.7338 MB / 0.7708 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/0.6992, allocations: 0.5031 MB / 0.7713 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.7013, allocations: 1.797 MB / 0.7731 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004021/0.7054, allocations: 454.8 kB / 0.7735 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.7056, allocations: 99.91 kB / 0.7736 GB, free: 9.328 MB / 0.5919 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.001293/0.7069, allocations: 0.6997 MB / 0.7743 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004553/0.7073, allocations: 272.7 kB / 0.7745 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.7182, allocations: 2.6 MB / 0.7771 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.7183, allocations: 12 kB / 0.7771 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.7183, allocations: 4 kB / 0.7771 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009963/0.7283, allocations: 2.212 MB / 0.7793 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.743, allocations: 6.548 MB / 0.7856 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.743, allocations: 8 kB / 0.7857 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/0.7448, allocations: 296.2 kB / 0.7859 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/0.7472, allocations: 0.7121 MB / 0.7866 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/0.7474, allocations: 47.94 kB / 0.7867 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.7496, allocations: 1.792 MB / 0.7884 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.477e-06/0.7496, allocations: 11.94 kB / 0.7884 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.7619, allocations: 4.293 MB / 0.7926 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/0.764, allocations: 0.6807 MB / 0.7933 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005722/0.7646, allocations: 40 kB / 0.7933 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/0.7678, allocations: 279 kB / 0.7936 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.768, allocations: 120.7 kB / 0.7937 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.7682, allocations: 75.92 kB / 0.7938 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003045/0.7712, allocations: 1.813 MB / 0.7956 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7712, allocations: 0 / 0.7956 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004634/0.7759, allocations: 1.692 MB / 0.7972 GB, free: 340 kB / 0.6075 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.001606/0.7775, allocations: 0.8249 MB / 0.798 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01153/0.789, allocations: 3.589 MB / 0.8015 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.7891, allocations: 8.422 kB / 0.8015 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/0.7927, allocations: 1.047 MB / 0.8026 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006501/0.7992, allocations: 1.376 MB / 0.8039 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.8114, allocations: 6.106 MB / 0.8099 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.8127, allocations: 1.769 MB / 0.8116 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003453/0.8162, allocations: 0.6909 MB / 0.8123 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006077/0.8168, allocations: 239.3 kB / 0.8125 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of SimCode: time 1.142e-06/0.8168, allocations: 0 / 0.8125 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of Templates: time 0.345/1.162, allocations: 65.67 MB / 0.8766 GB, free: 200 MB / 0.6387 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)