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.001169/0.001169, allocations: 181.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4936/0.4936, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.525/1.525, allocations: 223.2 MB / 354.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 96.16 kB / 427.4 MB, free: 3.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 12 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.157, allocations: 72.3 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.249, allocations: 387.3 MB / 0.9472 GB, free: 79.89 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.249, allocations: 95.52 kB / 0.9473 GB, free: 79.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.278/3.527, allocations: 0.562 GB / 1.509 GB, free: 70.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/3.527, allocations: 3 kB / 1.509 GB, free: 70.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001889/3.527, allocations: 42.22 kB / 1.509 GB, free: 70.26 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.006787/3.534, allocations: 2.105 MB / 1.511 GB, free: 69.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/3.534, allocations: 9.672 kB / 1.511 GB, free: 69.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004728/3.535, allocations: 180.4 kB / 1.512 GB, free: 69.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005652/3.54, allocations: 0.6686 MB / 1.512 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004856/3.545, allocations: 1.803 MB / 1.514 GB, free: 69.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/3.545, allocations: 129 kB / 1.514 GB, free: 69.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/3.546, allocations: 117.2 kB / 1.514 GB, free: 69.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/3.55, allocations: 1.632 MB / 1.516 GB, free: 68.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/3.55, allocations: 6.656 kB / 1.516 GB, free: 68.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/3.55, allocations: 54.55 kB / 1.516 GB, free: 68.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.476e-05/3.55, allocations: 49.66 kB / 1.516 GB, free: 68.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004823/3.555, allocations: 1.463 MB / 1.517 GB, free: 68.79 MB / 0.6042 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.01087/3.566, allocations: 6.795 MB / 1.524 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/3.568, allocations: 0.6884 MB / 1.525 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/3.569, allocations: 1.268 MB / 1.526 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/3.569, allocations: 49.47 kB / 1.526 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=64): time 3.266e-06/3.569, allocations: 1 kB / 1.526 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64): time 0.03042/3.6, allocations: 3.817 MB / 1.53 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/3.6, allocations: 112.2 kB / 1.53 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002775/3.603, allocations: 1.262 MB / 1.531 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002961/3.603, allocations: 44.62 kB / 1.531 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007207/3.604, allocations: 0.703 MB / 1.532 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/3.604, allocations: 232.4 kB / 1.532 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/3.604, allocations: 18.66 kB / 1.532 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/3.604, allocations: 340.1 kB / 1.532 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/3.606, allocations: 0.4888 MB / 1.533 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/3.608, allocations: 0.7721 MB / 1.534 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/3.61, allocations: 0.537 MB / 1.534 GB, free: 63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/3.611, allocations: 2.562 kB / 1.534 GB, free: 63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01364/3.624, allocations: 2.101 MB / 1.536 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006726/3.625, allocations: 2.495 MB / 1.539 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/3.625, allocations: 6.219 kB / 1.539 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/3.627, allocations: 490.6 kB / 1.539 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/3.629, allocations: 254.7 kB / 1.539 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/3.63, allocations: 0.9973 MB / 1.54 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/3.634, allocations: 270.9 kB / 1.54 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/3.634, allocations: 55.52 kB / 1.541 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/3.634, allocations: 4.812 kB / 1.541 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01297/3.647, allocations: 1.936 MB / 1.542 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/3.647, allocations: 5.5 kB / 1.542 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/3.648, allocations: 495.5 kB / 1.543 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/3.65, allocations: 249.5 kB / 1.543 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/3.652, allocations: 1.002 MB / 1.544 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/3.655, allocations: 246.4 kB / 1.544 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/3.655, allocations: 53.41 kB / 1.544 GB, free: 59.11 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 () * Number of clocked 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.001134/3.656, allocations: 451.3 kB / 1.545 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/3.656, allocations: 149.6 kB / 1.545 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/3.661, allocations: 1.246 MB / 1.546 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/3.661, allocations: 7.125 kB / 1.546 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/3.661, allocations: 0 / 1.546 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003607/3.665, allocations: 1.127 MB / 1.547 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009116/3.674, allocations: 3.015 MB / 1.55 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/3.674, allocations: 3.875 kB / 1.55 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/3.675, allocations: 152.6 kB / 1.55 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/3.676, allocations: 482.5 kB / 1.551 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/3.676, allocations: 26.59 kB / 1.551 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/3.678, allocations: 0.9897 MB / 1.552 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/3.678, allocations: 11.2 kB / 1.552 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/3.684, allocations: 2.171 MB / 1.554 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/3.686, allocations: 387.6 kB / 1.554 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/3.686, allocations: 21.83 kB / 1.554 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/3.688, allocations: 144.6 kB / 1.555 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/3.688, allocations: 58.59 kB / 1.555 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.965e-05/3.688, allocations: 49.94 kB / 1.555 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001743/3.69, allocations: 1.008 MB / 1.556 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/3.69, allocations: 1.438 kB / 1.556 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003455/3.694, allocations: 0.9836 MB / 1.557 GB, free: 56.33 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) * Number of clocked states: 0 () * 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.007952/3.702, allocations: 4.541 MB / 1.561 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006322/3.708, allocations: 1.781 MB / 1.563 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/3.708, allocations: 3.844 kB / 1.563 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/3.71, allocations: 0.5139 MB / 1.563 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/3.714, allocations: 0.7752 MB / 1.564 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02517/3.739, allocations: 13.65 MB / 1.577 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/3.74, allocations: 1.242 MB / 1.579 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002335/3.742, allocations: 375.4 kB / 1.579 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008534/3.743, allocations: 0.5842 MB / 1.579 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/3.743, allocations: 0 / 1.579 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08909/3.832, allocations: 54.79 MB / 1.633 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/3.832, allocations: 271.2 kB / 1.633 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.82/7.652, allocations: 2.031 kB / 1.633 GB, free: 42.5 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)