Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_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.01592/0.01592, allocations: 170.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.26/1.26, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.081/2.081, allocations: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 93.08 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004438, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/0.7452, allocations: 82.3 MB / 0.6495 GB, free: 36.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.407/2.152, allocations: 398.9 MB / 1.039 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003993/2.152, allocations: 97.69 kB / 1.039 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.041/8.194, allocations: 1.066 GB / 2.105 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.925e-06/8.194, allocations: 4 kB / 2.105 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0006181/8.194, allocations: 87.91 kB / 2.105 GB, free: 13.17 MB / 0.7292 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.01643/8.211, allocations: 3.692 MB / 2.109 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.086e-05/8.211, allocations: 12.03 kB / 2.109 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001798/8.213, allocations: 328.7 kB / 2.109 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/8.228, allocations: 1.315 MB / 2.11 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/8.241, allocations: 3.331 MB / 2.113 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005231/8.241, allocations: 259.9 kB / 2.114 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/8.243, allocations: 235.9 kB / 2.114 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/8.257, allocations: 3.209 MB / 2.117 GB, free: 396 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.1e-05/8.257, allocations: 7.938 kB / 2.117 GB, free: 388 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005795/8.257, allocations: 104 kB / 2.117 GB, free: 284 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/8.257, allocations: 64 kB / 2.117 GB, free: 220 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8791/9.136, allocations: 2.872 MB / 2.12 GB, free: 67.56 MB / 0.7292 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.0476/9.184, allocations: 13.51 MB / 2.133 GB, free: 61.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008846/9.193, allocations: 1.586 MB / 2.135 GB, free: 61.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002514/9.196, allocations: 1.781 MB / 2.137 GB, free: 59.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007217/9.203, allocations: 1.257 MB / 2.138 GB, free: 59.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 1.161e-05/9.203, allocations: 0 / 2.138 GB, free: 59.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.1187/9.322, allocations: 16.26 MB / 2.154 GB, free: 53.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003708/9.322, allocations: 0.9358 MB / 2.155 GB, free: 52.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00803/9.33, allocations: 2.428 MB / 2.157 GB, free: 51.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007286/9.331, allocations: 58.95 kB / 2.157 GB, free: 51.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002176/9.333, allocations: 1.359 MB / 2.158 GB, free: 51.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00096/9.334, allocations: 422 kB / 2.159 GB, free: 51.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/9.334, allocations: 32.94 kB / 2.159 GB, free: 51.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001643/9.335, allocations: 368.7 kB / 2.159 GB, free: 51.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007175/9.342, allocations: 0.9781 MB / 2.16 GB, free: 51.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008348/9.35, allocations: 1.605 MB / 2.162 GB, free: 50.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006938/9.357, allocations: 1.118 MB / 2.163 GB, free: 50.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/9.357, allocations: 3.812 kB / 2.163 GB, free: 50.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01951/9.377, allocations: 3.124 MB / 2.166 GB, free: 50.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001883/9.379, allocations: 5.26 MB / 2.171 GB, free: 44.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.965e-05/9.379, allocations: 14.06 kB / 2.171 GB, free: 44.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006662/9.385, allocations: 1.159 MB / 2.172 GB, free: 44.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004716/9.39, allocations: 450.6 kB / 2.172 GB, free: 44.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007206/9.398, allocations: 2.383 MB / 2.175 GB, free: 43.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009521/9.407, allocations: 431.9 kB / 2.175 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008605/9.408, allocations: 104.1 kB / 2.175 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/9.408, allocations: 10.39 kB / 2.175 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0132/9.421, allocations: 2.789 MB / 2.178 GB, free: 43.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.193e-05/9.421, allocations: 11.97 kB / 2.178 GB, free: 43.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004795/9.426, allocations: 1.157 MB / 2.179 GB, free: 43.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/9.43, allocations: 426.2 kB / 2.18 GB, free: 43.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005113/9.435, allocations: 2.377 MB / 2.182 GB, free: 42.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007311/9.442, allocations: 363 kB / 2.182 GB, free: 42.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006515/9.443, allocations: 111.7 kB / 2.182 GB, free: 42.33 MB / 0.7292 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 () * Number of clocked 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.003044/9.446, allocations: 0.6983 MB / 2.183 GB, free: 42.14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/9.448, allocations: 285.8 kB / 2.183 GB, free: 42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/9.461, allocations: 2.417 MB / 2.186 GB, free: 41.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.962e-05/9.462, allocations: 19.48 kB / 2.186 GB, free: 41.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/9.462, allocations: 11.39 kB / 2.186 GB, free: 41.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01258/9.474, allocations: 2.176 MB / 2.188 GB, free: 41.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02735/9.502, allocations: 7.131 MB / 2.195 GB, free: 39.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-05/9.502, allocations: 10.81 kB / 2.195 GB, free: 39.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/9.504, allocations: 277.7 kB / 2.195 GB, free: 39.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005071/9.51, allocations: 1.023 MB / 2.196 GB, free: 39.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000403/9.51, allocations: 49.59 kB / 2.196 GB, free: 39.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004667/9.515, allocations: 2.157 MB / 2.198 GB, free: 38.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-05/9.515, allocations: 10 kB / 2.198 GB, free: 38.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/9.535, allocations: 4.352 MB / 2.202 GB, free: 37.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003675/9.539, allocations: 0.662 MB / 2.203 GB, free: 36.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001446/9.541, allocations: 37 kB / 2.203 GB, free: 36.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005795/9.546, allocations: 290.2 kB / 2.203 GB, free: 36.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/9.547, allocations: 117.3 kB / 2.204 GB, free: 36.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003026/9.547, allocations: 72.36 kB / 2.204 GB, free: 36.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005641/9.553, allocations: 1.907 MB / 2.205 GB, free: 36.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.31e-07/9.553, allocations: 0 / 2.205 GB, free: 36.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01188/9.565, allocations: 1.653 MB / 2.207 GB, free: 36.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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.0248/9.59, allocations: 7.763 MB / 2.215 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01837/9.608, allocations: 3.683 MB / 2.218 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.742e-05/9.608, allocations: 7.875 kB / 2.218 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005315/9.613, allocations: 1.092 MB / 2.219 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01194/9.625, allocations: 1.476 MB / 2.221 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08385/9.709, allocations: 27.62 MB / 2.248 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/9.711, allocations: 1.772 MB / 2.249 GB, free: 16.15 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006675/9.718, allocations: 0.6541 MB / 2.25 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003441/9.721, allocations: 1.17 MB / 2.251 GB, free: 16 MB / 0.7292 GB Notification: Performance of SimCode: time 1.843e-06/9.722, allocations: 3.031 kB / 2.251 GB, free: 16 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2814/10, allocations: 106.2 MB / 2.355 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/10, allocations: 250.9 kB / 2.355 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/20.29, allocations: 0 / 2.355 GB, free: 0.7852 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)