Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7693/0.7693, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.5 MB / 395.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009902/0.0009905, allocations: 104.8 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.213e-05, allocations: 4 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.5066, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8188/1.325, allocations: 397.5 MB / 1.022 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.326, allocations: 83.27 kB / 1.022 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.883/5.208, allocations: 1.057 GB / 2.079 GB, free: 38.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/5.208, allocations: 0 / 2.079 GB, free: 38.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003403/5.209, allocations: 78.17 kB / 2.079 GB, free: 38.73 MB / 0.698 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.008416/5.217, allocations: 3.185 MB / 2.082 GB, free: 35.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/5.217, allocations: 12.02 kB / 2.082 GB, free: 35.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008889/5.226, allocations: 1.21 MB / 2.083 GB, free: 34.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006704/5.233, allocations: 3.312 MB / 2.086 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/5.233, allocations: 163.9 kB / 2.087 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004153/5.233, allocations: 133.4 kB / 2.087 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003305/5.237, allocations: 1.969 MB / 2.089 GB, free: 28.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/5.24, allocations: 2.45 MB / 2.091 GB, free: 26.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/5.241, allocations: 16.53 kB / 2.091 GB, free: 26.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/5.241, allocations: 11.95 kB / 2.091 GB, free: 26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-05/5.241, allocations: 71.92 kB / 2.091 GB, free: 25.93 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.01666/5.258, allocations: 12.62 MB / 2.103 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/5.259, allocations: 1.122 MB / 2.105 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/5.26, allocations: 0.5891 MB / 2.105 GB, free: 11.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/5.261, allocations: 1.778 MB / 2.107 GB, free: 8.887 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/5.262, allocations: 0.9128 MB / 2.108 GB, free: 7.875 MB / 0.698 GB Notification: Performance of pre-optimization done (n=118): time 4.078e-06/5.262, allocations: 7.5 kB / 2.108 GB, free: 7.871 MB / 0.698 GB Notification: Performance of matching and sorting (n=118): time 0.006946/5.269, allocations: 1.835 MB / 2.11 GB, free: 6.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002046/5.269, allocations: 0.94 MB / 2.111 GB, free: 4.859 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/5.272, allocations: 1.856 MB / 2.112 GB, free: 2.984 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003024/5.272, allocations: 33.7 kB / 2.112 GB, free: 2.945 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009965/5.273, allocations: 1.39 MB / 2.114 GB, free: 1.531 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/5.274, allocations: 406.1 kB / 2.114 GB, free: 1.129 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/5.274, allocations: 0 / 2.114 GB, free: 1.129 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/5.274, allocations: 365.9 kB / 2.114 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/5.275, allocations: 0.5936 MB / 2.115 GB, free: 176 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/5.276, allocations: 1.189 MB / 2.116 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003713/5.28, allocations: 0.9583 MB / 2.117 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/5.28, allocations: 4 kB / 2.117 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006643/5.287, allocations: 2.28 MB / 2.119 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001945/5.289, allocations: 4.941 MB / 2.124 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/5.289, allocations: 12 kB / 2.124 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/5.29, allocations: 0.5382 MB / 2.125 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/5.293, allocations: 0.4914 MB / 2.125 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/5.295, allocations: 1.782 MB / 2.127 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004965/5.3, allocations: 442 kB / 2.127 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003858/5.301, allocations: 103.9 kB / 2.127 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/5.301, allocations: 4 kB / 2.127 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005977/5.307, allocations: 1.988 MB / 2.129 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/5.307, allocations: 12 kB / 2.129 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/5.308, allocations: 0.5389 MB / 2.13 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.5195/5.827, allocations: 471.3 kB / 2.13 GB, free: 67.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/5.83, allocations: 1.784 MB / 2.132 GB, free: 66.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004853/5.835, allocations: 360.6 kB / 2.132 GB, free: 66.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004256/5.835, allocations: 106.8 kB / 2.133 GB, free: 66.85 MB / 0.7136 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,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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.000586/5.836, allocations: 153.5 kB / 2.133 GB, free: 66.74 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00803/5.844, allocations: 1.839 MB / 2.135 GB, free: 66.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/5.845, allocations: 244.7 kB / 2.135 GB, free: 66.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007076/5.852, allocations: 1.845 MB / 2.137 GB, free: 66.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/5.852, allocations: 21.14 kB / 2.137 GB, free: 66.53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/5.852, allocations: 3.844 kB / 2.137 GB, free: 66.53 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005784/5.858, allocations: 1.669 MB / 2.138 GB, free: 66.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/5.871, allocations: 6.248 MB / 2.144 GB, free: 64.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/5.871, allocations: 7.75 kB / 2.144 GB, free: 64.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/5.873, allocations: 291.9 kB / 2.145 GB, free: 64.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/5.874, allocations: 0.5246 MB / 2.145 GB, free: 64.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/5.874, allocations: 31.52 kB / 2.145 GB, free: 64.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/5.876, allocations: 1.768 MB / 2.147 GB, free: 63.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/5.876, allocations: 10.78 kB / 2.147 GB, free: 63.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007393/5.883, allocations: 3.303 MB / 2.15 GB, free: 61.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/5.885, allocations: 0.6197 MB / 2.151 GB, free: 61.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005076/5.886, allocations: 17.06 kB / 2.151 GB, free: 61.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003695/5.889, allocations: 254.1 kB / 2.151 GB, free: 61.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/5.89, allocations: 116.1 kB / 2.151 GB, free: 61.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/5.89, allocations: 72.69 kB / 2.151 GB, free: 61.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002483/5.892, allocations: 1.383 MB / 2.152 GB, free: 61.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.243e-06/5.892, allocations: 0 / 2.152 GB, free: 61.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006015/5.898, allocations: 1.81 MB / 2.154 GB, free: 61.51 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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.01041/5.909, allocations: 6.959 MB / 2.161 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004988/5.914, allocations: 2.551 MB / 2.164 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/5.914, allocations: 7.062 kB / 2.164 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/5.915, allocations: 0.7326 MB / 2.164 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005988/5.921, allocations: 1.081 MB / 2.165 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/5.935, allocations: 4.493 MB / 2.17 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/5.936, allocations: 1.777 MB / 2.171 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004226/5.941, allocations: 0.7633 MB / 2.172 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/5.942, allocations: 1.095 MB / 2.173 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/5.942, allocations: 0 / 2.173 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1295/6.071, allocations: 84.83 MB / 2.256 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/6.072, allocations: 196.8 kB / 2.256 GB, free: 50.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.035/12.11, allocations: 0 / 2.256 GB, free: 50.89 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)