Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.001385/0.001385, allocations: 173.9 kB / 7.648 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.8375/0.8375, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.544/1.544, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.00106/0.00106, allocations: 99.03 kB / 478.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.551e-05, allocations: 4 kB / 0.5535 GB, free: 8.996 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.4976, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9092/1.407, allocations: 398.1 MB / 1.023 GB, free: 2.992 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/1.407, allocations: 90.39 kB / 1.023 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.992/5.399, allocations: 1.057 GB / 2.08 GB, free: 38.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/5.399, allocations: 0 / 2.08 GB, free: 38.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004273/5.4, allocations: 83.92 kB / 2.08 GB, free: 38.67 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01033/5.41, allocations: 3.185 MB / 2.083 GB, free: 35.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/5.41, allocations: 16.02 kB / 2.083 GB, free: 35.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/5.424, allocations: 1.315 MB / 2.085 GB, free: 34.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/5.435, allocations: 3.311 MB / 2.088 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/5.435, allocations: 171.9 kB / 2.088 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006774/5.436, allocations: 136 kB / 2.088 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005866/5.442, allocations: 2.012 MB / 2.09 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006134/5.448, allocations: 2.499 MB / 2.093 GB, free: 25.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.583e-05/5.448, allocations: 7.938 kB / 2.093 GB, free: 25.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004072/5.448, allocations: 8 kB / 2.093 GB, free: 25.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.536e-05/5.448, allocations: 71.94 kB / 2.093 GB, free: 25.56 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.02663/5.475, allocations: 12.97 MB / 2.105 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/5.477, allocations: 1.174 MB / 2.107 GB, free: 10.83 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/5.478, allocations: 0.6029 MB / 2.107 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/5.48, allocations: 1.778 MB / 2.109 GB, free: 8.062 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001848/5.482, allocations: 0.9317 MB / 2.11 GB, free: 7.031 MB / 0.698 GB Notification: Performance of pre-optimization done (n=118): time 5.03e-06/5.482, allocations: 0 / 2.11 GB, free: 7.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=122): time 0.03533/5.517, allocations: 10.56 MB / 2.12 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005157/5.518, allocations: 0.9361 MB / 2.121 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004551/5.523, allocations: 1.844 MB / 2.123 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004376/5.523, allocations: 37.7 kB / 2.123 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002057/5.525, allocations: 1.381 MB / 2.124 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008094/5.526, allocations: 418 kB / 2.125 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/5.526, allocations: 0 / 2.125 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000265/5.526, allocations: 365.9 kB / 2.125 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/5.528, allocations: 0.6053 MB / 2.126 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002584/5.531, allocations: 1.224 MB / 2.127 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006189/5.537, allocations: 0.964 MB / 2.128 GB, free: 4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/5.537, allocations: 4 kB / 2.128 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01154/5.549, allocations: 2.398 MB / 2.13 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.5221/6.071, allocations: 5.12 MB / 2.135 GB, free: 65.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.975e-05/6.071, allocations: 13.09 kB / 2.135 GB, free: 65.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/6.074, allocations: 0.8941 MB / 2.136 GB, free: 65.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/6.076, allocations: 448.2 kB / 2.136 GB, free: 65.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004271/6.081, allocations: 2.321 MB / 2.139 GB, free: 64.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006251/6.087, allocations: 371.3 kB / 2.139 GB, free: 64.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006715/6.088, allocations: 108.7 kB / 2.139 GB, free: 64.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/6.088, allocations: 3.875 kB / 2.139 GB, free: 64.71 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006417/6.094, allocations: 2.126 MB / 2.141 GB, free: 64.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/6.094, allocations: 12.88 kB / 2.141 GB, free: 64.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/6.096, allocations: 0.8862 MB / 2.142 GB, free: 64.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/6.099, allocations: 434.9 kB / 2.142 GB, free: 64.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/6.101, allocations: 2.332 MB / 2.145 GB, free: 63.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004692/6.106, allocations: 311.9 kB / 2.145 GB, free: 63.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004667/6.107, allocations: 105.1 kB / 2.145 GB, free: 63.59 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 (148): * Single equations (assignments): 145 * 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 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001014/6.108, allocations: 164 kB / 2.145 GB, free: 63.48 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01428/6.122, allocations: 2.444 MB / 2.148 GB, free: 63.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/6.123, allocations: 245.1 kB / 2.148 GB, free: 63.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006776/6.13, allocations: 1.885 MB / 2.15 GB, free: 63.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/6.13, allocations: 18.59 kB / 2.15 GB, free: 63.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/6.13, allocations: 7.312 kB / 2.15 GB, free: 63.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005495/6.135, allocations: 1.71 MB / 2.151 GB, free: 62.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/6.147, allocations: 6.269 MB / 2.158 GB, free: 61.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/6.147, allocations: 3.781 kB / 2.158 GB, free: 61.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/6.149, allocations: 268.7 kB / 2.158 GB, free: 61.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/6.15, allocations: 0.7729 MB / 2.159 GB, free: 61.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/6.15, allocations: 34.61 kB / 2.159 GB, free: 61.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/6.153, allocations: 2.081 MB / 2.161 GB, free: 60.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/6.153, allocations: 6.406 kB / 2.161 GB, free: 60.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008365/6.161, allocations: 3.414 MB / 2.164 GB, free: 58.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/6.163, allocations: 0.6227 MB / 2.165 GB, free: 58.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004528/6.163, allocations: 10.56 kB / 2.165 GB, free: 58.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003164/6.166, allocations: 263.7 kB / 2.165 GB, free: 58.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/6.166, allocations: 109.6 kB / 2.165 GB, free: 58.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/6.167, allocations: 78.72 kB / 2.165 GB, free: 58.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002248/6.169, allocations: 1.372 MB / 2.166 GB, free: 58.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/6.169, allocations: 0 / 2.166 GB, free: 58.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007454/6.176, allocations: 1.565 MB / 2.168 GB, free: 58.54 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 (76): * Single equations (assignments): 70 * 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 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01169/6.188, allocations: 6.941 MB / 2.175 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005066/6.193, allocations: 2.689 MB / 2.177 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/6.193, allocations: 3.781 kB / 2.177 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/6.195, allocations: 0.7731 MB / 2.178 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006522/6.201, allocations: 1.073 MB / 2.179 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/6.212, allocations: 4.151 MB / 2.183 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/6.213, allocations: 1.771 MB / 2.185 GB, free: 53.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003839/6.217, allocations: 0.7197 MB / 2.186 GB, free: 53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/6.218, allocations: 1.102 MB / 2.187 GB, free: 52.99 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/6.218, allocations: 0 / 2.187 GB, free: 52.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.131/6.349, allocations: 88.73 MB / 2.273 GB, free: 47.87 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/6.349, allocations: 172.4 kB / 2.273 GB, free: 47.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.375/11.72, allocations: 0 / 2.273 GB, free: 47.68 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)