Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",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.0009952/0.0009953, allocations: 172.8 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5313/0.5313, allocations: 90.91 MB / 99.35 MB, free: 2.195 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.534/1.534, allocations: 221.5 MB / 343.2 MB, free: 1.551 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.001063/0.001063, allocations: 95.14 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.241e-05/2.245e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1574, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.304, allocations: 388.4 MB / 0.9329 GB, free: 92.61 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/1.305, allocations: 96.67 kB / 0.933 GB, free: 92.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.728/5.032, allocations: 1.061 GB / 1.995 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.21e-07/5.032, allocations: 0 / 1.995 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002439/5.033, allocations: 86.78 kB / 1.995 GB, free: 47.38 MB / 0.6355 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.006641/5.039, allocations: 3.185 MB / 1.998 GB, free: 46.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/5.039, allocations: 11.19 kB / 1.998 GB, free: 46.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009067/5.049, allocations: 1.316 MB / 1.999 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00604/5.055, allocations: 3.316 MB / 2.002 GB, free: 45.31 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/5.055, allocations: 167.7 kB / 2.002 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004147/5.055, allocations: 139.5 kB / 2.003 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003409/5.059, allocations: 2.027 MB / 2.005 GB, free: 45.22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/5.062, allocations: 2.501 MB / 2.007 GB, free: 44.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.733e-05/5.062, allocations: 7.938 kB / 2.007 GB, free: 44.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/5.063, allocations: 7.75 kB / 2.007 GB, free: 44.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-05/5.063, allocations: 64.95 kB / 2.007 GB, free: 44.72 MB / 0.6355 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.01816/5.081, allocations: 12.97 MB / 2.02 GB, free: 38.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/5.083, allocations: 1.176 MB / 2.021 GB, free: 38.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/5.083, allocations: 0.607 MB / 2.021 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/5.085, allocations: 1.776 MB / 2.023 GB, free: 36.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/5.086, allocations: 0.9427 MB / 2.024 GB, free: 36.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.447e-06/5.086, allocations: 0 / 2.024 GB, free: 36.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.02009/5.106, allocations: 10.56 MB / 2.034 GB, free: 30.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001997/5.107, allocations: 0.9343 MB / 2.035 GB, free: 29.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/5.109, allocations: 1.846 MB / 2.037 GB, free: 29.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/5.109, allocations: 33.36 kB / 2.037 GB, free: 29.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/5.11, allocations: 1.381 MB / 2.039 GB, free: 28.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003846/5.111, allocations: 413.4 kB / 2.039 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/5.111, allocations: 0 / 2.039 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001001/5.111, allocations: 367.2 kB / 2.039 GB, free: 27.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009135/5.112, allocations: 0.6069 MB / 2.04 GB, free: 27.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/5.113, allocations: 1.213 MB / 2.041 GB, free: 27.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/5.117, allocations: 0.9637 MB / 2.042 GB, free: 27.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/5.117, allocations: 3.875 kB / 2.042 GB, free: 27.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005453/5.122, allocations: 2.406 MB / 2.044 GB, free: 27.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007703/5.123, allocations: 5.13 MB / 2.049 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/5.123, allocations: 10 kB / 2.049 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/5.124, allocations: 0.8975 MB / 2.05 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/5.127, allocations: 444.8 kB / 2.051 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/5.129, allocations: 2.32 MB / 2.053 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/5.134, allocations: 380.9 kB / 2.053 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/5.134, allocations: 104.7 kB / 2.053 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/5.134, allocations: 6.25 kB / 2.053 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004959/5.139, allocations: 2.125 MB / 2.055 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/5.139, allocations: 11.62 kB / 2.055 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/5.141, allocations: 0.8918 MB / 2.056 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/5.143, allocations: 436.5 kB / 2.057 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/5.145, allocations: 2.319 MB / 2.059 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/5.149, allocations: 306 kB / 2.059 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/5.15, allocations: 108.9 kB / 2.059 GB, free: 19.28 MB / 0.6355 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 () * 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 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.0006008/5.15, allocations: 163.9 kB / 2.06 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01283/5.163, allocations: 2.461 MB / 2.062 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/5.164, allocations: 242.6 kB / 2.062 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006644/5.171, allocations: 1.88 MB / 2.064 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/5.171, allocations: 17.38 kB / 2.064 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/5.171, allocations: 4.281 kB / 2.064 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005529/5.176, allocations: 1.707 MB / 2.066 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/5.187, allocations: 6.262 MB / 2.072 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/5.187, allocations: 7.25 kB / 2.072 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/5.189, allocations: 273.8 kB / 2.072 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/5.19, allocations: 0.772 MB / 2.073 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-05/5.19, allocations: 36.7 kB / 2.073 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/5.192, allocations: 2.083 MB / 2.075 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/5.192, allocations: 10.53 kB / 2.075 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007439/5.2, allocations: 3.414 MB / 2.078 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/5.201, allocations: 0.6221 MB / 2.079 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004587/5.202, allocations: 9.438 kB / 2.079 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002957/5.205, allocations: 263.4 kB / 2.079 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/5.205, allocations: 116.9 kB / 2.079 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/5.205, allocations: 71.56 kB / 2.079 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001824/5.207, allocations: 1.381 MB / 2.081 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/5.207, allocations: 0 / 2.081 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005078/5.212, allocations: 1.564 MB / 2.082 GB, free: 13.71 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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) * 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.01017/5.222, allocations: 6.943 MB / 2.089 GB, free: 26.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004185/5.227, allocations: 2.686 MB / 2.092 GB, free: 25.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/5.227, allocations: 4.594 kB / 2.092 GB, free: 25.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/5.228, allocations: 0.7722 MB / 2.092 GB, free: 25.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005216/5.233, allocations: 1.068 MB / 2.093 GB, free: 25.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009557/5.243, allocations: 4.155 MB / 2.097 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/5.244, allocations: 1.773 MB / 2.099 GB, free: 23.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003759/5.248, allocations: 0.708 MB / 2.1 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/5.249, allocations: 1.107 MB / 2.101 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/5.249, allocations: 1.219 kB / 2.101 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/5.373, allocations: 88.72 MB / 2.188 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/5.373, allocations: 177.3 kB / 2.188 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.993/10.37, allocations: 3.938 kB / 2.188 GB, free: 8.066 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)