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.001026/0.001025, allocations: 179 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.5303/0.5303, allocations: 90.81 MB / 104.5 MB, free: 13.93 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.426/1.426, allocations: 221.3 MB / 348.3 MB, free: 12.56 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.0009126/0.0009127, allocations: 98.61 kB / 421.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.357e-05, allocations: 2.109 kB / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.165, allocations: 72.31 MB / 0.5603 GB, free: 6.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.291, allocations: 389.1 MB / 0.9403 GB, free: 84.65 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/1.291, allocations: 91.56 kB / 0.9404 GB, free: 84.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.96/5.251, allocations: 1.067 GB / 2.007 GB, free: 43.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/5.251, allocations: 3.562 kB / 2.007 GB, free: 43.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004437/5.252, allocations: 79.69 kB / 2.007 GB, free: 43.48 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.008861/5.261, allocations: 3.187 MB / 2.01 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/5.261, allocations: 11.19 kB / 2.01 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009899/5.262, allocations: 326.1 kB / 2.011 GB, free: 42.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/5.272, allocations: 1.313 MB / 2.012 GB, free: 41.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008503/5.281, allocations: 3.315 MB / 2.015 GB, free: 41.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/5.281, allocations: 249.7 kB / 2.015 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008295/5.282, allocations: 232.3 kB / 2.016 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006733/5.289, allocations: 2.839 MB / 2.018 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-05/5.289, allocations: 5.375 kB / 2.018 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005468/5.289, allocations: 102.9 kB / 2.018 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.138e-05/5.289, allocations: 69.05 kB / 2.019 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00467/5.294, allocations: 2.166 MB / 2.021 GB, free: 40.75 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.02014/5.314, allocations: 13.52 MB / 2.034 GB, free: 34.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/5.316, allocations: 1.22 MB / 2.035 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000875/5.317, allocations: 0.6343 MB / 2.036 GB, free: 34.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/5.318, allocations: 1.781 MB / 2.037 GB, free: 32.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/5.32, allocations: 0.9849 MB / 2.038 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.666e-06/5.32, allocations: 0 / 2.038 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.01522/5.335, allocations: 10.1 MB / 2.048 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001992/5.335, allocations: 0.9404 MB / 2.049 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/5.338, allocations: 2.34 MB / 2.051 GB, free: 24.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000248/5.338, allocations: 60.45 kB / 2.051 GB, free: 24.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008982/5.339, allocations: 1.361 MB / 2.053 GB, free: 24.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/5.34, allocations: 415.9 kB / 2.053 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/5.34, allocations: 32.34 kB / 2.053 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/5.34, allocations: 372 kB / 2.054 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/5.341, allocations: 0.6347 MB / 2.054 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/5.342, allocations: 1.262 MB / 2.055 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/5.344, allocations: 0.7742 MB / 2.056 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/5.344, allocations: 4.938 kB / 2.056 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003901/5.347, allocations: 2.369 MB / 2.059 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009641/5.348, allocations: 5.256 MB / 2.064 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/5.348, allocations: 21.67 kB / 2.064 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/5.351, allocations: 1.048 MB / 2.065 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/5.354, allocations: 448.9 kB / 2.065 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/5.356, allocations: 2.201 MB / 2.067 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005139/5.361, allocations: 449.6 kB / 2.068 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/5.361, allocations: 106.7 kB / 2.068 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/5.361, allocations: 7.219 kB / 2.068 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003334/5.365, allocations: 2.095 MB / 2.07 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/5.365, allocations: 10.12 kB / 2.07 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/5.367, allocations: 1.044 MB / 2.071 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/5.37, allocations: 434.9 kB / 2.071 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/5.372, allocations: 2.209 MB / 2.073 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/5.376, allocations: 368.4 kB / 2.074 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/5.376, allocations: 112.4 kB / 2.074 GB, free: 15.11 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.0005367/5.377, allocations: 215.6 kB / 2.074 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000512/5.377, allocations: 291.8 kB / 2.074 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004618/5.382, allocations: 1.763 MB / 2.076 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/5.382, allocations: 18.39 kB / 2.076 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/5.382, allocations: 6.875 kB / 2.076 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003507/5.386, allocations: 1.523 MB / 2.078 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008845/5.394, allocations: 6.456 MB / 2.084 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/5.395, allocations: 9.5 kB / 2.084 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/5.396, allocations: 267.2 kB / 2.084 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002355/5.398, allocations: 0.8906 MB / 2.085 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/5.399, allocations: 52.62 kB / 2.085 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/5.4, allocations: 1.967 MB / 2.087 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/5.4, allocations: 10.47 kB / 2.087 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006133/5.407, allocations: 3.425 MB / 2.09 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/5.409, allocations: 0.6603 MB / 2.091 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/5.41, allocations: 34.88 kB / 2.091 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00399/5.414, allocations: 293.5 kB / 2.091 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/5.414, allocations: 110 kB / 2.091 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/5.414, allocations: 72.61 kB / 2.092 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003647/5.418, allocations: 1.818 MB / 2.093 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.513e-06/5.418, allocations: 0 / 2.093 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00694/5.425, allocations: 1.653 MB / 2.095 GB, free: 9.445 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.01048/5.435, allocations: 6.848 MB / 2.102 GB, free: 21.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005042/5.44, allocations: 2.857 MB / 2.104 GB, free: 21.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/5.44, allocations: 7.531 kB / 2.104 GB, free: 21.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/5.442, allocations: 0.8103 MB / 2.105 GB, free: 21.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007337/5.449, allocations: 1.49 MB / 2.107 GB, free: 21.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/5.46, allocations: 4.352 MB / 2.111 GB, free: 20.35 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002054/5.462, allocations: 1.776 MB / 2.113 GB, free: 19.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.005206/5.467, allocations: 0.8347 MB / 2.113 GB, free: 19.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001809/5.469, allocations: 1.128 MB / 2.115 GB, free: 19.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.282e-06/5.469, allocations: 0 / 2.115 GB, free: 19.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.162/5.631, allocations: 110.4 MB / 2.222 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/5.632, allocations: 225.1 kB / 2.223 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.892/11.52, allocations: 4 kB / 2.223 GB, free: 14.03 MB / 0.6823 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)