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/Complex 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4796/0.4796, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009381/0.0009382, allocations: 100.9 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.649e-05, allocations: 3.984 kB / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4237, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.544, allocations: 387.3 MB / 0.9385 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/1.544, allocations: 90.77 kB / 0.9386 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.887/3.432, allocations: 0.5603 GB / 1.499 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/3.432, allocations: 0 / 1.499 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001435/3.432, allocations: 43.95 kB / 1.499 GB, free: 84.52 MB / 0.6042 GB 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.003317/3.435, allocations: 1.841 MB / 1.501 GB, free: 83.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/3.435, allocations: 15.42 kB / 1.501 GB, free: 83.54 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/3.435, allocations: 177.5 kB / 1.501 GB, free: 83.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/3.44, allocations: 0.6575 MB / 1.502 GB, free: 83.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/3.442, allocations: 1.787 MB / 1.503 GB, free: 83.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/3.443, allocations: 133.1 kB / 1.503 GB, free: 83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/3.443, allocations: 118.2 kB / 1.504 GB, free: 82.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/3.445, allocations: 1.449 MB / 1.505 GB, free: 82.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/3.445, allocations: 5.812 kB / 1.505 GB, free: 82.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/3.445, allocations: 53.48 kB / 1.505 GB, free: 82.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.58e-05/3.445, allocations: 52.33 kB / 1.505 GB, free: 82.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/3.447, allocations: 1.114 MB / 1.506 GB, free: 82.72 MB / 0.6042 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.007534/3.454, allocations: 6.794 MB / 1.513 GB, free: 79.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007867/3.455, allocations: 0.5526 MB / 1.513 GB, free: 79.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/3.455, allocations: 347.1 kB / 1.514 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/3.456, allocations: 1.271 MB / 1.515 GB, free: 78.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/3.457, allocations: 40.88 kB / 1.515 GB, free: 78.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=64): time 2.574e-06/3.457, allocations: 3.938 kB / 1.515 GB, free: 78.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64): time 0.008933/3.465, allocations: 1.446 MB / 1.516 GB, free: 78.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/3.466, allocations: 110.8 kB / 1.516 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/3.467, allocations: 1.217 MB / 1.518 GB, free: 77.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.049e-05/3.467, allocations: 48.64 kB / 1.518 GB, free: 77.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/3.468, allocations: 0.7041 MB / 1.518 GB, free: 77.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/3.468, allocations: 227 kB / 1.519 GB, free: 77.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/3.468, allocations: 17.97 kB / 1.519 GB, free: 77.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.912e-05/3.468, allocations: 336.1 kB / 1.519 GB, free: 77.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/3.468, allocations: 330.1 kB / 1.519 GB, free: 77.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/3.469, allocations: 0.6016 MB / 1.52 GB, free: 76.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/3.47, allocations: 384.8 kB / 1.52 GB, free: 76.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/3.47, allocations: 3.281 kB / 1.52 GB, free: 76.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.008963/3.479, allocations: 1.726 MB / 1.522 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005967/3.479, allocations: 2.493 MB / 1.524 GB, free: 73.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/3.479, allocations: 10.12 kB / 1.524 GB, free: 73.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/3.48, allocations: 412.7 kB / 1.525 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/3.482, allocations: 257.7 kB / 1.525 GB, free: 73.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008406/3.483, allocations: 0.9144 MB / 1.526 GB, free: 72.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/3.485, allocations: 276.4 kB / 1.526 GB, free: 72.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/3.485, allocations: 57.06 kB / 1.526 GB, free: 72.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/3.485, allocations: 5.188 kB / 1.526 GB, free: 72.79 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008816/3.494, allocations: 1.572 MB / 1.528 GB, free: 72.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/3.494, allocations: 7.781 kB / 1.528 GB, free: 72.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/3.495, allocations: 416.4 kB / 1.528 GB, free: 72.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/3.496, allocations: 251.1 kB / 1.528 GB, free: 72.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008185/3.497, allocations: 0.9081 MB / 1.529 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/3.499, allocations: 232.8 kB / 1.529 GB, free: 71.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/3.499, allocations: 57.02 kB / 1.53 GB, free: 71.55 MB / 0.6042 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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.0003043/3.5, allocations: 163.9 kB / 1.53 GB, free: 71.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/3.5, allocations: 144.7 kB / 1.53 GB, free: 71.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/3.502, allocations: 0.9394 MB / 1.531 GB, free: 70.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/3.502, allocations: 14.83 kB / 1.531 GB, free: 70.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/3.502, allocations: 0 / 1.531 GB, free: 70.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/3.503, allocations: 0.8162 MB / 1.532 GB, free: 70.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004341/3.507, allocations: 2.723 MB / 1.534 GB, free: 69.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/3.507, allocations: 3.906 kB / 1.534 GB, free: 69.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008637/3.508, allocations: 155.5 kB / 1.534 GB, free: 69.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/3.509, allocations: 402.6 kB / 1.535 GB, free: 69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.163e-05/3.509, allocations: 34.06 kB / 1.535 GB, free: 68.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007935/3.51, allocations: 0.9022 MB / 1.536 GB, free: 68.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/3.51, allocations: 2.469 kB / 1.536 GB, free: 68.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/3.512, allocations: 1.725 MB / 1.537 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006984/3.513, allocations: 393.3 kB / 1.538 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/3.513, allocations: 22.2 kB / 1.538 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/3.515, allocations: 149.8 kB / 1.538 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/3.515, allocations: 60.2 kB / 1.538 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/3.515, allocations: 42.53 kB / 1.538 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001196/3.516, allocations: 0.9668 MB / 1.539 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.41e-07/3.516, allocations: 0 / 1.539 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002685/3.519, allocations: 0.9766 MB / 1.54 GB, free: 66.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * 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.004033/3.523, allocations: 4.091 MB / 1.544 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002421/3.525, allocations: 1.355 MB / 1.545 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/3.525, allocations: 0 / 1.545 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006218/3.526, allocations: 392 kB / 1.546 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/3.529, allocations: 0.7864 MB / 1.546 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/3.534, allocations: 2.361 MB / 1.549 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/3.534, allocations: 1.233 MB / 1.55 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001843/3.536, allocations: 457.2 kB / 1.55 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/3.537, allocations: 0.5613 MB / 1.551 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of SimCode: time 6.71e-07/3.537, allocations: 1.969 kB / 1.551 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1234/3.66, allocations: 57.05 MB / 1.607 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/3.661, allocations: 231.5 kB / 1.607 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.626/7.287, allocations: 2.031 kB / 1.607 GB, free: 6.023 MB / 0.6042 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)