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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 99.55 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.001394/0.001393, 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 4.0.0+maint.om/package.mo): time 1.982/1.982, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.186/1.186, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 8.75 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4335, allocations: 81.58 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1077/0.5413, allocations: 109.4 MB / 0.6898 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03466/0.576, allocations: 21.37 MB / 0.7106 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005111/0.5811, allocations: 115.2 kB / 0.7108 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005692/0.5869, allocations: 1.461 MB / 0.7122 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01436/0.6013, allocations: 4.186 MB / 0.7163 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01075/0.612, allocations: 3.123 MB / 0.7193 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01185/0.6239, allocations: 5.089 MB / 0.7243 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004808/0.6288, allocations: 2.274 MB / 0.7265 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006875/0.6357, allocations: 2.437 MB / 0.7289 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003679/0.6394, allocations: 1.571 MB / 0.7304 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.6408, allocations: 128 kB / 0.7305 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.6519, allocations: 1.74 MB / 0.7322 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.6539, allocations: 0.5719 MB / 0.7328 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002303/0.6562, allocations: 0.7343 MB / 0.7335 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.6666, allocations: 4.559 MB / 0.738 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6667, allocations: 0 / 0.738 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6667, allocations: 0 / 0.738 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001343/0.6668, allocations: 4 kB / 0.738 GB, free: 1.531 MB / 0.5606 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.007624/0.6744, allocations: 3.347 MB / 0.7412 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.6745, allocations: 12.03 kB / 0.7413 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009137/0.6754, allocations: 324.7 kB / 0.7416 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009796/0.6852, allocations: 1.369 MB / 0.7429 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006366/0.6917, allocations: 2.698 MB / 0.7455 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/0.692, allocations: 259.9 kB / 0.7458 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006591/0.6927, allocations: 239.8 kB / 0.746 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008292/0.701, allocations: 3.122 MB / 0.7491 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.367e-05/0.7011, allocations: 3.938 kB / 0.7491 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004007/0.7015, allocations: 108 kB / 0.7492 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.018e-05/0.7016, allocations: 67.92 kB / 0.7492 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008707/0.7104, allocations: 2.78 MB / 0.7519 GB, free: 2.812 MB / 0.5762 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.02233/0.7327, allocations: 13.36 MB / 0.765 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.7369, allocations: 1.432 MB / 0.7664 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001856/0.7387, allocations: 1.778 MB / 0.7681 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003453/0.7422, allocations: 1.161 MB / 0.7693 GB, free: 0 / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 4.589e-06/0.7423, allocations: 4.047 kB / 0.7693 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126): time 0.02135/0.7636, allocations: 4.238 MB / 0.7734 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004232/0.7641, allocations: 0.5805 MB / 0.774 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007711/0.7718, allocations: 2.579 MB / 0.7765 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006735/0.7726, allocations: 61.7 kB / 0.7766 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002364/0.7749, allocations: 1.348 MB / 0.7779 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.7761, allocations: 445.7 kB / 0.7783 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.7764, allocations: 32 kB / 0.7783 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002824/0.7767, allocations: 373.9 kB / 0.7787 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006721/0.7834, allocations: 0.9642 MB / 0.7796 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007709/0.7912, allocations: 1.537 MB / 0.7811 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00753/0.7987, allocations: 1.101 MB / 0.7822 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-05/0.7988, allocations: 4 kB / 0.7822 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02482/0.8237, allocations: 3.105 MB / 0.7852 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.00342/0.8271, allocations: 5.028 MB / 0.7901 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/0.8272, allocations: 19.94 kB / 0.7902 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004233/0.8315, allocations: 0.7222 MB / 0.7909 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004248/0.8357, allocations: 0.507 MB / 0.7914 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/0.8397, allocations: 1.795 MB / 0.7931 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008214/0.8479, allocations: 0.5107 MB / 0.7936 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007763/0.8488, allocations: 103.9 kB / 0.7937 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.8488, allocations: 4 kB / 0.7937 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01836/0.8672, allocations: 2.826 MB / 0.7965 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.327e-05/0.8673, allocations: 16.06 kB / 0.7965 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005001/0.8724, allocations: 0.7378 MB / 0.7972 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005658/0.8781, allocations: 0.5031 MB / 0.7977 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004675/0.8828, allocations: 1.788 MB / 0.7994 GB, free: 40 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008292/0.8911, allocations: 460.7 kB / 0.7999 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006375/0.8918, allocations: 107.8 kB / 0.8 GB, free: 15.48 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 ($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.002938/0.8948, allocations: 0.7063 MB / 0.8007 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/0.8962, allocations: 272.7 kB / 0.8009 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02234/0.9186, allocations: 2.592 MB / 0.8035 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.761e-05/0.9187, allocations: 12 kB / 0.8035 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.393e-05/0.9188, allocations: 4 kB / 0.8035 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01981/0.9386, allocations: 2.217 MB / 0.8057 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/0.9599, allocations: 6.541 MB / 0.812 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/0.9599, allocations: 4 kB / 0.812 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/0.9618, allocations: 292.2 kB / 0.8123 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/0.9644, allocations: 0.7147 MB / 0.813 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/0.9647, allocations: 55.94 kB / 0.8131 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.9671, allocations: 1.784 MB / 0.8148 GB, free: 0 / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2816/1.249, allocations: 9.297 kB / 0.8148 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/1.26, allocations: 4.289 MB / 0.819 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.262, allocations: 0.6811 MB / 0.8197 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/1.262, allocations: 36.3 kB / 0.8197 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/1.265, allocations: 286.8 kB / 0.82 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/1.265, allocations: 119.5 kB / 0.8201 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/1.265, allocations: 75.55 kB / 0.8202 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002948/1.268, allocations: 1.814 MB / 0.8219 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/1.268, allocations: 0 / 0.8219 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004183/1.273, allocations: 1.695 MB / 0.8236 GB, free: 205 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 (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.01185/1.284, allocations: 7.399 MB / 0.8308 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.295, allocations: 3.594 MB / 0.8343 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.295, allocations: 6.594 kB / 0.8343 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003123/1.298, allocations: 1.048 MB / 0.8354 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005926/1.304, allocations: 1.369 MB / 0.8367 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02721/1.331, allocations: 15.79 MB / 0.8521 GB, free: 185.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/1.334, allocations: 1.772 MB / 0.8539 GB, free: 185 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006267/1.34, allocations: 0.6896 MB / 0.8545 GB, free: 184.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/1.343, allocations: 1.153 MB / 0.8557 GB, free: 183.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.673e-06/1.343, allocations: 7.969 kB / 0.8557 GB, free: 183.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2582/1.601, allocations: 88.96 MB / 0.9425 GB, free: 100.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/1.601, allocations: 271.5 kB / 0.9428 GB, free: 100 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/8.392, allocations: 7.438 kB / 0.9428 GB, free: 99.99 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: