Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 97.52 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002266/0.002266, allocations: 171 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.545/2.545, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.224/1.224, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005288, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3042, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.7959/1.1, allocations: 58.48 MB / 0.6138 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04212/1.142, allocations: 12.16 MB / 0.6257 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006523/1.149, allocations: 61.34 kB / 0.6258 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007448/1.157, allocations: 0.7857 MB / 0.6265 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01917/1.176, allocations: 2.226 MB / 0.6287 GB, free: 8.934 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0121/1.188, allocations: 1.899 MB / 0.6306 GB, free: 7.945 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01372/1.202, allocations: 2.672 MB / 0.6332 GB, free: 6.188 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005662/1.207, allocations: 1.175 MB / 0.6343 GB, free: 5.465 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008519/1.216, allocations: 1.265 MB / 0.6356 GB, free: 4.691 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005449/1.222, allocations: 0.8113 MB / 0.6363 GB, free: 4.215 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/1.223, allocations: 66.62 kB / 0.6364 GB, free: 4.215 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/1.234, allocations: 1.175 MB / 0.6376 GB, free: 3.715 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001976/1.236, allocations: 300.7 kB / 0.6378 GB, free: 3.496 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002493/1.238, allocations: 402.5 kB / 0.6382 GB, free: 3.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009717/1.248, allocations: 2.435 MB / 0.6406 GB, free: 1.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.248, allocations: 1.156 kB / 0.6406 GB, free: 1.586 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.288e-06/1.248, allocations: 0 / 0.6406 GB, free: 1.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000126/1.248, allocations: 0 / 0.6406 GB, free: 1.586 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00897/1.257, allocations: 1.909 MB / 0.6425 GB, free: 140 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.957e-05/1.258, allocations: 8.875 kB / 0.6425 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009474/1.258, allocations: 180.1 kB / 0.6427 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008365/1.267, allocations: 0.7285 MB / 0.6434 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004844/1.272, allocations: 1.452 MB / 0.6448 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/1.272, allocations: 123.9 kB / 0.6449 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003999/1.273, allocations: 127.8 kB / 0.645 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004832/1.277, allocations: 1.643 MB / 0.6466 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.596e-05/1.277, allocations: 3.938 kB / 0.6466 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/1.278, allocations: 54.53 kB / 0.6467 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.782e-05/1.278, allocations: 39.61 kB / 0.6467 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005205/1.283, allocations: 1.488 MB / 0.6482 GB, free: 12.22 MB / 478.1 MB 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.01551/1.299, allocations: 7.041 MB / 0.655 GB, free: 4.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/1.301, allocations: 0.7579 MB / 0.6558 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/1.303, allocations: 1.271 MB / 0.657 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.924e-05/1.303, allocations: 51.02 kB / 0.6571 GB, free: 2.473 MB / 478.1 MB Notification: Performance of pre-optimization done (n=68): time 4.198e-06/1.303, allocations: 0 / 0.6571 GB, free: 2.473 MB / 478.1 MB Notification: Performance of matching and sorting (n=68): time 0.03065/1.334, allocations: 3.111 MB / 0.6601 GB, free: 15.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/1.334, allocations: 107.4 kB / 0.6602 GB, free: 15.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005172/1.34, allocations: 1.402 MB / 0.6616 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006295/1.34, allocations: 49.64 kB / 0.6616 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/1.342, allocations: 0.6917 MB / 0.6623 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007909/1.343, allocations: 236.6 kB / 0.6625 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/1.343, allocations: 20 kB / 0.6626 GB, free: 12.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002475/1.343, allocations: 349.7 kB / 0.6629 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003615/1.347, allocations: 0.5094 MB / 0.6634 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004327/1.351, allocations: 0.7862 MB / 0.6642 GB, free: 11.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003942/1.355, allocations: 0.5613 MB / 0.6647 GB, free: 10.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/1.355, allocations: 4 kB / 0.6647 GB, free: 10.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.02185/1.377, allocations: 2.151 MB / 0.6668 GB, free: 8.301 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001961/1.379, allocations: 2.498 MB / 0.6692 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/1.379, allocations: 4 kB / 0.6692 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/1.382, allocations: 492.4 kB / 0.6697 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/1.384, allocations: 267.6 kB / 0.67 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/1.387, allocations: 0.9895 MB / 0.6709 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004491/1.392, allocations: 283.2 kB / 0.6712 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003456/1.392, allocations: 55.94 kB / 0.6713 GB, free: 3.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.392, allocations: 4 kB / 0.6713 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01633/1.409, allocations: 2.003 MB / 0.6732 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.81e-05/1.409, allocations: 8 kB / 0.6732 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/1.411, allocations: 488.1 kB / 0.6737 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/1.413, allocations: 267.6 kB / 0.674 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/1.416, allocations: 0.995 MB / 0.6749 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/1.42, allocations: 259 kB / 0.6752 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/1.42, allocations: 55.95 kB / 0.6752 GB, free: 15.47 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001596/1.422, allocations: 452.8 kB / 0.6757 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007179/1.422, allocations: 150.2 kB / 0.6758 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/1.428, allocations: 1.327 MB / 0.6771 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/1.428, allocations: 7.984 kB / 0.6771 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.429, allocations: 4 kB / 0.6771 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005045/1.434, allocations: 1.143 MB / 0.6782 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/1.445, allocations: 3.089 MB / 0.6812 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/1.445, allocations: 7.953 kB / 0.6812 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.446, allocations: 159.7 kB / 0.6814 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002475/1.449, allocations: 477.6 kB / 0.6819 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.449, allocations: 23.97 kB / 0.6819 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/1.451, allocations: 0.9944 MB / 0.6828 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/1.451, allocations: 7.938 kB / 0.6829 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008801/1.46, allocations: 2.249 MB / 0.6851 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.462, allocations: 406.9 kB / 0.6854 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004563/1.463, allocations: 20 kB / 0.6855 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/1.465, allocations: 151.9 kB / 0.6856 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/1.466, allocations: 60.25 kB / 0.6857 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/1.466, allocations: 47.95 kB / 0.6857 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002659/1.468, allocations: 1.005 MB / 0.6867 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.468, allocations: 0 / 0.6867 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004972/1.473, allocations: 0.9006 MB / 0.6876 GB, free: 2.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/1.485, allocations: 4.399 MB / 0.6919 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009377/1.494, allocations: 1.869 MB / 0.6937 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/1.495, allocations: 3.938 kB / 0.6937 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002688/1.497, allocations: 0.5295 MB / 0.6942 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006483/1.504, allocations: 0.7631 MB / 0.695 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.521, allocations: 8.234 MB / 0.703 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/1.523, allocations: 1.238 MB / 0.7042 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003437/1.526, allocations: 377.2 kB / 0.7046 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/1.528, allocations: 0.5813 MB / 0.7051 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of SimCode: time 2.234e-06/1.528, allocations: 0 / 0.7051 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5467/2.074, allocations: 49.66 MB / 0.7536 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003845/2.075, allocations: 269.9 kB / 0.7539 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/9.551, allocations: 3.938 kB / 0.7539 GB, free: 14.57 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: