Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",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.001779/0.00178, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8582/0.8582, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.514/1.514, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0008934/0.0008936, allocations: 93.17 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.299e-05/5.317e-05, allocations: 3.031 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1715, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.338, allocations: 398.3 MB / 1.029 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/1.338, allocations: 90.86 kB / 1.03 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.079/5.418, allocations: 1.063 GB / 2.093 GB, free: 59.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/5.418, allocations: 1.875 kB / 2.093 GB, free: 59.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005876/5.418, allocations: 82.05 kB / 2.093 GB, free: 59.81 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.0104/5.429, allocations: 3.221 MB / 2.096 GB, free: 58.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/5.429, allocations: 11.16 kB / 2.096 GB, free: 58.4 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00133/5.43, allocations: 322.7 kB / 2.096 GB, free: 58.35 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009431/5.44, allocations: 1.223 MB / 2.097 GB, free: 58.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/5.45, allocations: 3.311 MB / 2.101 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004081/5.45, allocations: 248 kB / 2.101 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/5.451, allocations: 233.6 kB / 2.101 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007878/5.459, allocations: 2.832 MB / 2.104 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-05/5.459, allocations: 7.875 kB / 2.104 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006447/5.46, allocations: 103.5 kB / 2.104 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/5.46, allocations: 99.91 kB / 2.104 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004418/5.465, allocations: 2.145 MB / 2.106 GB, free: 57 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.0203/5.485, allocations: 13.35 MB / 2.119 GB, free: 51.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/5.487, allocations: 1.183 MB / 2.12 GB, free: 51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007957/5.487, allocations: 0.6111 MB / 2.121 GB, free: 50.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/5.489, allocations: 1.778 MB / 2.123 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/5.49, allocations: 0.9435 MB / 2.124 GB, free: 48.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.847e-06/5.49, allocations: 0 / 2.124 GB, free: 48.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.01564/5.506, allocations: 10.05 MB / 2.133 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002273/5.506, allocations: 0.9391 MB / 2.134 GB, free: 41.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003375/5.509, allocations: 2.347 MB / 2.137 GB, free: 41.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000347/5.51, allocations: 62.38 kB / 2.137 GB, free: 41.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/5.511, allocations: 1.374 MB / 2.138 GB, free: 40.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000417/5.511, allocations: 421.4 kB / 2.139 GB, free: 40.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/5.511, allocations: 32.78 kB / 2.139 GB, free: 40.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/5.511, allocations: 367.8 kB / 2.139 GB, free: 40.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/5.513, allocations: 0.608 MB / 2.139 GB, free: 40.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/5.514, allocations: 1.238 MB / 2.141 GB, free: 39.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/5.515, allocations: 0.7563 MB / 2.141 GB, free: 39.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/5.515, allocations: 3.5 kB / 2.141 GB, free: 39.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004051/5.519, allocations: 2.317 MB / 2.144 GB, free: 39.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009386/5.52, allocations: 5.252 MB / 2.149 GB, free: 33.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/5.52, allocations: 16 kB / 2.149 GB, free: 33.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/5.523, allocations: 0.877 MB / 2.15 GB, free: 33.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/5.525, allocations: 454.4 kB / 2.15 GB, free: 33.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/5.528, allocations: 2.172 MB / 2.152 GB, free: 32.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00544/5.533, allocations: 433.2 kB / 2.153 GB, free: 32.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004195/5.534, allocations: 108.6 kB / 2.153 GB, free: 32.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/5.534, allocations: 1.906 kB / 2.153 GB, free: 32.63 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003598/5.538, allocations: 2.028 MB / 2.155 GB, free: 32.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/5.538, allocations: 13.62 kB / 2.155 GB, free: 32.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/5.54, allocations: 0.8719 MB / 2.156 GB, free: 32.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/5.542, allocations: 432.8 kB / 2.156 GB, free: 32.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/5.545, allocations: 2.174 MB / 2.158 GB, free: 31.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004434/5.549, allocations: 370.5 kB / 2.159 GB, free: 31.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/5.55, allocations: 102.6 kB / 2.159 GB, free: 31.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (152): * Single equations (assignments): 149 * 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 {5 22,5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0005168/5.55, allocations: 223.9 kB / 2.159 GB, free: 31.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005569/5.551, allocations: 281.9 kB / 2.159 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/5.555, allocations: 1.714 MB / 2.161 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/5.555, allocations: 17.19 kB / 2.161 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/5.555, allocations: 3.938 kB / 2.161 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002933/5.558, allocations: 1.492 MB / 2.162 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/5.568, allocations: 6.279 MB / 2.168 GB, free: 28.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/5.568, allocations: 6.188 kB / 2.168 GB, free: 28.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/5.57, allocations: 280.8 kB / 2.169 GB, free: 28.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/5.572, allocations: 0.7215 MB / 2.169 GB, free: 28.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/5.573, allocations: 49.77 kB / 2.169 GB, free: 28.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/5.575, allocations: 1.938 MB / 2.171 GB, free: 27.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/5.575, allocations: 10.22 kB / 2.171 GB, free: 27.73 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004417/5.579, allocations: 3.265 MB / 2.174 GB, free: 26.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/5.581, allocations: 0.6556 MB / 2.175 GB, free: 26.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000511/5.582, allocations: 33.69 kB / 2.175 GB, free: 26.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003186/5.585, allocations: 281.2 kB / 2.175 GB, free: 26.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/5.585, allocations: 117.3 kB / 2.176 GB, free: 26.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/5.585, allocations: 72.44 kB / 2.176 GB, free: 26.06 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002667/5.588, allocations: 1.82 MB / 2.177 GB, free: 25.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/5.588, allocations: 0 / 2.177 GB, free: 25.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005417/5.593, allocations: 1.657 MB / 2.179 GB, free: 25.78 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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 (80): * Single equations (assignments): 74 * 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,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006888/5.6, allocations: 6.681 MB / 2.186 GB, free: 22.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006075/5.606, allocations: 2.969 MB / 2.188 GB, free: 22.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/5.606, allocations: 3.406 kB / 2.188 GB, free: 22.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/5.608, allocations: 0.8725 MB / 2.189 GB, free: 22.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007325/5.616, allocations: 1.491 MB / 2.191 GB, free: 22.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/5.63, allocations: 4.57 MB / 2.195 GB, free: 20.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/5.632, allocations: 1.776 MB / 2.197 GB, free: 19.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004752/5.636, allocations: 0.8407 MB / 2.198 GB, free: 19.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/5.638, allocations: 1.124 MB / 2.199 GB, free: 19.77 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/5.638, allocations: 0 / 2.199 GB, free: 19.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1755/5.813, allocations: 107.8 MB / 2.304 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/5.814, allocations: 225.4 kB / 2.304 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/12.46, allocations: 4 kB / 2.304 GB, free: 7.637 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)