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.000946/0.000946, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007113/0.007113, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7788/0.7788, allocations: 132.4 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004037, allocations: 8.625 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.4576, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1752/0.6329, allocations: 127.9 MB / 0.7086 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.05535/0.6883, allocations: 24.96 MB / 0.7329 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007217/0.6956, allocations: 127.1 kB / 0.7331 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.007392/0.703, allocations: 1.406 MB / 0.7344 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01924/0.7223, allocations: 4.164 MB / 0.7385 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01439/0.7367, allocations: 3.185 MB / 0.7416 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.019/0.7557, allocations: 11.41 MB / 0.7528 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00552/0.7613, allocations: 2.526 MB / 0.7552 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008255/0.7696, allocations: 2.761 MB / 0.7579 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005204/0.7748, allocations: 2.302 MB / 0.7602 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001419/0.7763, allocations: 132 kB / 0.7603 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007853/0.7842, allocations: 2.472 MB / 0.7627 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.7857, allocations: 0.6144 MB / 0.7633 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004314/0.7901, allocations: 1.712 MB / 0.765 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.8027, allocations: 6.028 MB / 0.7709 GB, free: 180 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.8028, allocations: 0 / 0.7709 GB, free: 180 kB / 0.5919 GB Notification: Performance of FrontEnd: time 4.118e-06/0.8028, allocations: 0 / 0.7709 GB, free: 180 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002477/0.803, allocations: 0 / 0.7709 GB, free: 180 kB / 0.5919 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.01022/0.8133, allocations: 3.366 MB / 0.7742 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.8133, allocations: 12.03 kB / 0.7742 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.8239, allocations: 1.362 MB / 0.7755 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006998/0.8309, allocations: 2.93 MB / 0.7784 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.8313, allocations: 247.9 kB / 0.7786 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007294/0.832, allocations: 236 kB / 0.7788 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009329/0.8414, allocations: 3.173 MB / 0.7819 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.761e-05/0.8415, allocations: 11.92 kB / 0.7819 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005025/0.842, allocations: 100 kB / 0.782 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.878e-05/0.8421, allocations: 67.94 kB / 0.7821 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009457/0.8516, allocations: 2.792 MB / 0.7848 GB, free: 1.492 MB / 0.6075 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.0219/0.8735, allocations: 13.3 MB / 0.7978 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004261/0.8778, allocations: 1.419 MB / 0.7992 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.8809, allocations: 0.9049 MB / 0.8001 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001931/0.8828, allocations: 1.785 MB / 0.8018 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00381/0.8867, allocations: 1.169 MB / 0.803 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 6.672e-06/0.8867, allocations: 0 / 0.803 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126): time 0.02255/0.9093, allocations: 4.288 MB / 0.8071 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002886/0.9096, allocations: 0.5727 MB / 0.8077 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005152/0.9147, allocations: 2.512 MB / 0.8102 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000414/0.9152, allocations: 61.7 kB / 0.8102 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.9166, allocations: 1.341 MB / 0.8115 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007588/0.9174, allocations: 433.8 kB / 0.8119 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/0.9178, allocations: 149.6 kB / 0.8121 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.9179, allocations: 301.1 kB / 0.8124 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003909/0.9219, allocations: 0.972 MB / 0.8133 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004272/0.9261, allocations: 1.564 MB / 0.8148 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3594/1.286, allocations: 2.231 MB / 0.817 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/1.286, allocations: 6.75 kB / 0.817 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01433/1.3, allocations: 3.096 MB / 0.8201 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002995/1.3, allocations: 478.3 kB / 0.8205 GB, free: 208 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/1.3, allocations: 15.72 kB / 0.8205 GB, free: 208 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/1.303, allocations: 0.7233 MB / 0.8212 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/1.306, allocations: 0.5023 MB / 0.8217 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/1.309, allocations: 1.808 MB / 0.8235 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005281/1.314, allocations: 0.502 MB / 0.824 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004819/1.315, allocations: 105.6 kB / 0.8241 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.315, allocations: 3.875 kB / 0.8241 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01174/1.327, allocations: 2.809 MB / 0.8268 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.958e-05/1.327, allocations: 12.83 kB / 0.8268 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/1.329, allocations: 0.7288 MB / 0.8275 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/1.332, allocations: 0.4929 MB / 0.828 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/1.335, allocations: 1.813 MB / 0.8298 GB, free: 204 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004838/1.34, allocations: 451.6 kB / 0.8302 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004449/1.34, allocations: 107.7 kB / 0.8303 GB, free: 203.9 MB / 0.6387 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.001903/1.342, allocations: 0.6951 MB / 0.831 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009532/1.343, allocations: 272.3 kB / 0.8313 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/1.355, allocations: 2.603 MB / 0.8338 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/1.355, allocations: 14.44 kB / 0.8338 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.355, allocations: 6.516 kB / 0.8338 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01057/1.366, allocations: 2.233 MB / 0.836 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/1.382, allocations: 6.493 MB / 0.8424 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.382, allocations: 11.88 kB / 0.8424 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/1.384, allocations: 301.3 kB / 0.8427 GB, free: 198 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002233/1.386, allocations: 0.7063 MB / 0.8433 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/1.386, allocations: 51.59 kB / 0.8434 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/1.388, allocations: 1.795 MB / 0.8451 GB, free: 196.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.388, allocations: 15.62 kB / 0.8452 GB, free: 196.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/1.4, allocations: 3.567 MB / 0.8486 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/1.401, allocations: 0.662 MB / 0.8493 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008325/1.402, allocations: 31.56 kB / 0.8493 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003781/1.406, allocations: 287.3 kB / 0.8496 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/1.406, allocations: 111.9 kB / 0.8497 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/1.407, allocations: 71.58 kB / 0.8498 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003982/1.411, allocations: 1.76 MB / 0.8515 GB, free: 192.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.4e-07/1.411, allocations: 0 / 0.8515 GB, free: 192.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005871/1.416, allocations: 1.673 MB / 0.8531 GB, free: 192.1 MB / 0.6387 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.001971/1.418, allocations: 0.8037 MB / 0.8539 GB, free: 191.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.43, allocations: 3.619 MB / 0.8574 GB, free: 189.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/1.43, allocations: 4.438 kB / 0.8574 GB, free: 189.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003369/1.434, allocations: 1.059 MB / 0.8585 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0119/1.446, allocations: 1.425 MB / 0.8599 GB, free: 186.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.46, allocations: 6.403 MB / 0.8661 GB, free: 180.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/1.461, allocations: 1.716 MB / 0.8678 GB, free: 178.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004064/1.465, allocations: 0.6834 MB / 0.8685 GB, free: 177.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008827/1.466, allocations: 243.3 kB / 0.8687 GB, free: 177.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/1.466, allocations: 0 / 0.8687 GB, free: 177.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.09347/1.56, allocations: 67.98 MB / 0.9351 GB, free: 110.5 MB / 0.6387 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)