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.001913/0.001912, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7734/0.7734, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.0009469, allocations: 94.97 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.017e-05/4.031e-05, allocations: 3.094 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1588, allocations: 82.31 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.23/1.389, allocations: 398.2 MB / 1.029 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/1.39, allocations: 94 kB / 1.029 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.863/5.253, allocations: 1.062 GB / 2.091 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.823e-06/5.253, allocations: 0 / 2.091 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004908/5.253, allocations: 85.27 kB / 2.091 GB, free: 56.86 MB / 0.7136 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.009342/5.263, allocations: 3.183 MB / 2.094 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/5.263, allocations: 11.31 kB / 2.094 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001059/5.264, allocations: 315 kB / 2.095 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008818/5.273, allocations: 1.217 MB / 2.096 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007857/5.28, allocations: 3.315 MB / 2.099 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/5.281, allocations: 251.7 kB / 2.099 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008707/5.282, allocations: 229.2 kB / 2.1 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006961/5.289, allocations: 2.787 MB / 2.102 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/5.289, allocations: 6.938 kB / 2.102 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006047/5.289, allocations: 101 kB / 2.102 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.795e-05/5.29, allocations: 70.06 kB / 2.103 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004727/5.294, allocations: 2.112 MB / 2.105 GB, free: 54.14 MB / 0.7136 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.02107/5.315, allocations: 13.14 MB / 2.117 GB, free: 48.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/5.317, allocations: 1.165 MB / 2.119 GB, free: 48.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009541/5.318, allocations: 0.6301 MB / 2.119 GB, free: 48.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/5.32, allocations: 1.775 MB / 2.121 GB, free: 46.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/5.321, allocations: 0.9533 MB / 2.122 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 6.762e-06/5.321, allocations: 0.9375 kB / 2.122 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.005237/5.327, allocations: 1.703 MB / 2.123 GB, free: 45.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002388/5.327, allocations: 0.9404 MB / 2.124 GB, free: 44.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004762/5.332, allocations: 2.254 MB / 2.127 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002796/5.332, allocations: 61.23 kB / 2.127 GB, free: 44.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/5.333, allocations: 1.357 MB / 2.128 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/5.334, allocations: 410.2 kB / 2.128 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/5.334, allocations: 33.12 kB / 2.128 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001133/5.334, allocations: 374.8 kB / 2.129 GB, free: 43.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/5.335, allocations: 0.6154 MB / 2.129 GB, free: 43.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/5.336, allocations: 1.233 MB / 2.131 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/5.338, allocations: 0.7733 MB / 2.131 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/5.338, allocations: 0 / 2.131 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003856/5.341, allocations: 2.24 MB / 2.134 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008708/5.342, allocations: 5.025 MB / 2.138 GB, free: 37.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/5.342, allocations: 13.91 kB / 2.138 GB, free: 37.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/5.344, allocations: 0.6389 MB / 2.139 GB, free: 37.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/5.347, allocations: 0.4886 MB / 2.14 GB, free: 37.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/5.348, allocations: 1.692 MB / 2.141 GB, free: 36.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005134/5.353, allocations: 0.5125 MB / 2.142 GB, free: 35.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/5.354, allocations: 106.2 kB / 2.142 GB, free: 35.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/5.354, allocations: 3.781 kB / 2.142 GB, free: 35.95 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003329/5.357, allocations: 1.963 MB / 2.144 GB, free: 35.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/5.357, allocations: 14.33 kB / 2.144 GB, free: 35.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/5.359, allocations: 0.6377 MB / 2.144 GB, free: 35.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/5.361, allocations: 482.6 kB / 2.145 GB, free: 35.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/5.363, allocations: 1.691 MB / 2.146 GB, free: 34.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004531/5.367, allocations: 442.1 kB / 2.147 GB, free: 34.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/5.368, allocations: 107.4 kB / 2.147 GB, free: 34.71 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.0007063/5.368, allocations: 226.5 kB / 2.147 GB, free: 34.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009998/5.37, allocations: 274.5 kB / 2.147 GB, free: 34.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005356/5.375, allocations: 1.709 MB / 2.149 GB, free: 34.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/5.375, allocations: 13.06 kB / 2.149 GB, free: 34.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/5.375, allocations: 6.969 kB / 2.149 GB, free: 34.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003695/5.379, allocations: 1.484 MB / 2.151 GB, free: 34.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/5.391, allocations: 6.427 MB / 2.157 GB, free: 32.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/5.391, allocations: 7.344 kB / 2.157 GB, free: 32.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/5.393, allocations: 294.3 kB / 2.157 GB, free: 32.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/5.395, allocations: 0.6246 MB / 2.158 GB, free: 32.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/5.395, allocations: 52.34 kB / 2.158 GB, free: 32.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/5.397, allocations: 1.684 MB / 2.159 GB, free: 30.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/5.397, allocations: 12.44 kB / 2.159 GB, free: 30.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005286/5.402, allocations: 3.289 MB / 2.163 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002223/5.404, allocations: 0.6526 MB / 2.163 GB, free: 29.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/5.406, allocations: 35.25 kB / 2.163 GB, free: 29.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00393/5.41, allocations: 279.9 kB / 2.164 GB, free: 29.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/5.41, allocations: 113.1 kB / 2.164 GB, free: 29.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/5.41, allocations: 74.27 kB / 2.164 GB, free: 29.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004059/5.414, allocations: 1.744 MB / 2.166 GB, free: 29.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/5.414, allocations: 0 / 2.166 GB, free: 29.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007833/5.422, allocations: 1.841 MB / 2.167 GB, free: 28.8 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.01019/5.432, allocations: 6.833 MB / 2.174 GB, free: 41.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005192/5.437, allocations: 2.703 MB / 2.177 GB, free: 40.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/5.437, allocations: 7.25 kB / 2.177 GB, free: 40.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/5.439, allocations: 0.7721 MB / 2.177 GB, free: 40.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007658/5.447, allocations: 1.391 MB / 2.179 GB, free: 40.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/5.462, allocations: 4.673 MB / 2.183 GB, free: 39.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/5.464, allocations: 1.775 MB / 2.185 GB, free: 38.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005834/5.47, allocations: 0.8467 MB / 2.186 GB, free: 38.56 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/5.472, allocations: 1.107 MB / 2.187 GB, free: 38.55 MB / 0.7292 GB Notification: Performance of SimCode: time 1.122e-06/5.472, allocations: 3.75 kB / 2.187 GB, free: 38.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1701/5.642, allocations: 103.1 MB / 2.288 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/5.642, allocations: 243.3 kB / 2.288 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.444/12.09, allocations: 0 / 2.288 GB, free: 6.652 MB / 0.7292 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)