Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8271/0.8271, allocations: 143.3 MB / 158.3 MB, free: 5.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 181 kB / 191.5 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 223.2 MB / 447.7 MB, free: 6.551 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.0009413/0.0009412, allocations: 95.7 kB / 0.5187 GB, free: 2.902 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001761, allocations: 276.1 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.00046, allocations: 16 kB / 0.6929 GB, free: 2.215 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4352, allocations: 82.77 MB / 0.7738 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.879/1.314, allocations: 396.3 MB / 1.161 GB, free: 7.777 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.315, allocations: 94.47 kB / 1.161 GB, free: 7.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.836/5.151, allocations: 1.065 GB / 2.226 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.965e-06/5.151, allocations: 0 / 2.226 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003104/5.151, allocations: 87.86 kB / 2.226 GB, free: 14.59 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01/5.161, allocations: 3.682 MB / 2.23 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/5.161, allocations: 15.95 kB / 2.23 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001202/5.162, allocations: 324.7 kB / 2.23 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/5.172, allocations: 1.326 MB / 2.231 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007723/5.18, allocations: 3.297 MB / 2.235 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/5.181, allocations: 255.9 kB / 2.235 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005142/5.181, allocations: 231.9 kB / 2.235 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007787/5.189, allocations: 3.203 MB / 2.238 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/5.189, allocations: 7.938 kB / 2.238 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003069/5.189, allocations: 101.4 kB / 2.238 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.441e-05/5.189, allocations: 75.92 kB / 2.238 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/5.2, allocations: 2.874 MB / 2.241 GB, free: 14.8 MB / 0.7292 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.02924/5.229, allocations: 13.54 MB / 2.254 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5121/5.741, allocations: 1.573 MB / 2.256 GB, free: 63.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/5.743, allocations: 1.777 MB / 2.258 GB, free: 61.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004416/5.747, allocations: 1.259 MB / 2.259 GB, free: 61.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 4.609e-06/5.747, allocations: 2.812 kB / 2.259 GB, free: 61.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.06511/5.812, allocations: 16.23 MB / 2.275 GB, free: 55.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002417/5.813, allocations: 0.9369 MB / 2.276 GB, free: 54.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004596/5.817, allocations: 2.425 MB / 2.278 GB, free: 53.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005755/5.818, allocations: 60.89 kB / 2.278 GB, free: 53.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/5.819, allocations: 1.356 MB / 2.279 GB, free: 53.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005859/5.82, allocations: 423.9 kB / 2.28 GB, free: 53.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/5.82, allocations: 30.75 kB / 2.28 GB, free: 53.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001074/5.82, allocations: 368.4 kB / 2.28 GB, free: 53.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003811/5.824, allocations: 0.9753 MB / 2.281 GB, free: 53.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004615/5.828, allocations: 1.614 MB / 2.283 GB, free: 52.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004109/5.833, allocations: 1.108 MB / 2.284 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/5.833, allocations: 3.062 kB / 2.284 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01067/5.843, allocations: 3.127 MB / 2.287 GB, free: 52.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001077/5.844, allocations: 5.259 MB / 2.292 GB, free: 46.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/5.844, allocations: 16.34 kB / 2.292 GB, free: 46.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003598/5.848, allocations: 1.162 MB / 2.293 GB, free: 46.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/5.851, allocations: 450.1 kB / 2.294 GB, free: 46.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/5.855, allocations: 2.385 MB / 2.296 GB, free: 45.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006009/5.861, allocations: 421.2 kB / 2.296 GB, free: 45.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004704/5.861, allocations: 110.7 kB / 2.296 GB, free: 45.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/5.861, allocations: 5.188 kB / 2.296 GB, free: 45.5 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009136/5.87, allocations: 2.789 MB / 2.299 GB, free: 45.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/5.871, allocations: 11.59 kB / 2.299 GB, free: 45.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003459/5.874, allocations: 1.154 MB / 2.3 GB, free: 45.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/5.877, allocations: 430.9 kB / 2.301 GB, free: 45.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/5.881, allocations: 2.387 MB / 2.303 GB, free: 44.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005688/5.886, allocations: 373.5 kB / 2.303 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004942/5.887, allocations: 105.8 kB / 2.304 GB, free: 44.32 MB / 0.7292 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 () * Number of clocked 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002401/5.889, allocations: 0.7019 MB / 2.304 GB, free: 44.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/5.89, allocations: 286.2 kB / 2.304 GB, free: 43.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/5.901, allocations: 2.41 MB / 2.307 GB, free: 43.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.107e-05/5.901, allocations: 20.53 kB / 2.307 GB, free: 43.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/5.902, allocations: 3.438 kB / 2.307 GB, free: 43.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009149/5.911, allocations: 2.185 MB / 2.309 GB, free: 43.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/5.93, allocations: 7.14 MB / 2.316 GB, free: 41.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-05/5.93, allocations: 3.812 kB / 2.316 GB, free: 41.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/5.932, allocations: 274.6 kB / 2.316 GB, free: 41.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003476/5.936, allocations: 1.02 MB / 2.317 GB, free: 41.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003271/5.936, allocations: 46.44 kB / 2.317 GB, free: 41.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003191/5.939, allocations: 2.163 MB / 2.319 GB, free: 40.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/5.939, allocations: 10 kB / 2.319 GB, free: 40.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/5.953, allocations: 4.352 MB / 2.324 GB, free: 39.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/5.956, allocations: 0.6571 MB / 2.324 GB, free: 38.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/5.957, allocations: 41.64 kB / 2.324 GB, free: 38.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004281/5.961, allocations: 287.7 kB / 2.325 GB, free: 38.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/5.961, allocations: 114.4 kB / 2.325 GB, free: 38.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002343/5.962, allocations: 68.98 kB / 2.325 GB, free: 38.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004629/5.966, allocations: 1.899 MB / 2.327 GB, free: 38.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/5.966, allocations: 0 / 2.327 GB, free: 38.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01/5.976, allocations: 1.657 MB / 2.328 GB, free: 38.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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) * Number of clocked states: 0 () * 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.01809/5.995, allocations: 7.778 MB / 2.336 GB, free: 35.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01339/6.008, allocations: 3.675 MB / 2.339 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.137e-05/6.008, allocations: 7.281 kB / 2.339 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004/6.012, allocations: 1.082 MB / 2.341 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008194/6.02, allocations: 1.505 MB / 2.342 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05179/6.072, allocations: 27.54 MB / 2.369 GB, free: 18.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/6.074, allocations: 1.773 MB / 2.371 GB, free: 18.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004634/6.079, allocations: 0.6638 MB / 2.371 GB, free: 18.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/6.081, allocations: 1.152 MB / 2.372 GB, free: 18.06 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/6.081, allocations: 0 / 2.372 GB, free: 18.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/6.244, allocations: 106.6 MB / 2.477 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/6.244, allocations: 273.4 kB / 2.477 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.721/11.96, allocations: 4 kB / 2.477 GB, free: 4.922 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)