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.0009443/0.0009444, allocations: 177.5 kB / 8.005 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4993/0.4993, allocations: 90.91 MB / 99.34 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.5 MB / 343.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009622/0.0009624, allocations: 87.91 kB / 415.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.807e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1427, allocations: 72.3 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.352, allocations: 386.6 MB / 0.9312 GB, free: 93.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.352, allocations: 91.06 kB / 0.9313 GB, free: 93.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.251/3.603, allocations: 0.5576 GB / 1.489 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/3.603, allocations: 2.5 kB / 1.489 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001715/3.603, allocations: 42.3 kB / 1.489 GB, free: 76.09 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.004871/3.608, allocations: 1.832 MB / 1.491 GB, free: 75.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/3.608, allocations: 12.16 kB / 1.491 GB, free: 75.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00516/3.614, allocations: 0.6623 MB / 1.491 GB, free: 75.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/3.618, allocations: 1.786 MB / 1.493 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/3.618, allocations: 83.56 kB / 1.493 GB, free: 75.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/3.619, allocations: 72.72 kB / 1.493 GB, free: 75.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002238/3.621, allocations: 1.034 MB / 1.494 GB, free: 75.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/3.623, allocations: 1.287 MB / 1.495 GB, free: 74.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/3.623, allocations: 5.781 kB / 1.495 GB, free: 74.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/3.623, allocations: 3.344 kB / 1.495 GB, free: 74.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.402e-05/3.624, allocations: 53.81 kB / 1.496 GB, free: 74.78 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.009967/3.634, allocations: 6.525 MB / 1.502 GB, free: 72.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000836/3.634, allocations: 0.5202 MB / 1.502 GB, free: 72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/3.635, allocations: 324.5 kB / 1.503 GB, free: 71.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/3.636, allocations: 1.267 MB / 1.504 GB, free: 70.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/3.636, allocations: 45.67 kB / 1.504 GB, free: 70.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=64): time 3.016e-06/3.636, allocations: 0 / 1.504 GB, free: 70.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64): time 0.01074/3.647, allocations: 1.515 MB / 1.505 GB, free: 70.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/3.647, allocations: 111.8 kB / 1.506 GB, free: 70.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/3.649, allocations: 0.9763 MB / 1.507 GB, free: 70.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002528/3.649, allocations: 31.48 kB / 1.507 GB, free: 70.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/3.65, allocations: 0.7165 MB / 1.507 GB, free: 69.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/3.65, allocations: 221 kB / 1.507 GB, free: 69.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/3.65, allocations: 0 / 1.507 GB, free: 69.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/3.65, allocations: 336.5 kB / 1.508 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/3.651, allocations: 317.5 kB / 1.508 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/3.651, allocations: 0.5842 MB / 1.509 GB, free: 69.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/3.653, allocations: 0.4925 MB / 1.509 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/3.653, allocations: 1.375 kB / 1.509 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01071/3.664, allocations: 1.759 MB / 1.511 GB, free: 69.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005083/3.664, allocations: 2.463 MB / 1.513 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/3.665, allocations: 5.906 kB / 1.513 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009034/3.665, allocations: 366.9 kB / 1.514 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/3.667, allocations: 250.6 kB / 1.514 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/3.668, allocations: 0.9638 MB / 1.515 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/3.671, allocations: 227.9 kB / 1.515 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/3.671, allocations: 60.78 kB / 1.515 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/3.671, allocations: 3.938 kB / 1.515 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01065/3.682, allocations: 1.603 MB / 1.517 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/3.682, allocations: 5.469 kB / 1.517 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007904/3.683, allocations: 356.4 kB / 1.517 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/3.684, allocations: 253 kB / 1.517 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/3.686, allocations: 0.9585 MB / 1.518 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/3.688, allocations: 198 kB / 1.518 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/3.688, allocations: 55.55 kB / 1.518 GB, free: 65.3 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.0003359/3.688, allocations: 128.1 kB / 1.519 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01047/3.699, allocations: 1.507 MB / 1.52 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006438/3.7, allocations: 129.8 kB / 1.52 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/3.703, allocations: 0.986 MB / 1.521 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/3.703, allocations: 14.36 kB / 1.521 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/3.703, allocations: 0 / 1.521 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002088/3.705, allocations: 0.8901 MB / 1.522 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005836/3.711, allocations: 2.604 MB / 1.525 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/3.711, allocations: 4.375 kB / 1.525 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008679/3.712, allocations: 161.6 kB / 1.525 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000668/3.712, allocations: 352.4 kB / 1.525 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/3.712, allocations: 22.03 kB / 1.525 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/3.713, allocations: 0.9404 MB / 1.526 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/3.713, allocations: 9.781 kB / 1.526 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/3.717, allocations: 1.73 MB / 1.528 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006659/3.717, allocations: 371.1 kB / 1.528 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/3.718, allocations: 7.281 kB / 1.528 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/3.719, allocations: 124.1 kB / 1.528 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/3.719, allocations: 62.09 kB / 1.528 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/3.719, allocations: 46.77 kB / 1.528 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009283/3.72, allocations: 0.7389 MB / 1.529 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/3.72, allocations: 0 / 1.529 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002975/3.723, allocations: 0.9794 MB / 1.53 GB, free: 62.68 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.005128/3.728, allocations: 4.139 MB / 1.534 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002305/3.731, allocations: 1.265 MB / 1.535 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/3.731, allocations: 3.438 kB / 1.535 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005711/3.731, allocations: 371 kB / 1.536 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/3.734, allocations: 0.5697 MB / 1.536 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/3.739, allocations: 2.26 MB / 1.538 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/3.74, allocations: 1.238 MB / 1.54 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001831/3.741, allocations: 402.1 kB / 1.54 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/3.742, allocations: 0.5443 MB / 1.54 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of SimCode: time 9.41e-07/3.742, allocations: 0 / 1.54 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07091/3.813, allocations: 45.58 MB / 1.585 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/3.813, allocations: 184.7 kB / 1.585 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.312/7.126, allocations: 0 / 1.585 GB, free: 56.39 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)