Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 176.9 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.2 MB / 0.62 GB, free: 11.61 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009715/0.0009715, allocations: 99.41 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.731e-05/2.733e-05, allocations: 8 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8882/0.8882, allocations: 115.3 MB / 0.9645 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/2.113, allocations: 423.7 MB / 1.378 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/2.114, allocations: 95.22 kB / 1.378 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.928/6.041, allocations: 1.037 GB / 2.415 GB, free: 103.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.863e-06/6.041, allocations: 0 / 2.415 GB, free: 103.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002929/6.042, allocations: 86.33 kB / 2.415 GB, free: 103.6 MB / 0.948 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.007297/6.049, allocations: 3.183 MB / 2.419 GB, free: 102.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/6.049, allocations: 10.62 kB / 2.419 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009384/6.058, allocations: 1.319 MB / 2.42 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006385/6.065, allocations: 3.303 MB / 2.423 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/6.065, allocations: 169.7 kB / 2.423 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/6.065, allocations: 138.1 kB / 2.423 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003552/6.069, allocations: 2.019 MB / 2.425 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003847/6.073, allocations: 2.504 MB / 2.428 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/6.073, allocations: 7.031 kB / 2.428 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/6.073, allocations: 8.156 kB / 2.428 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/6.073, allocations: 69.47 kB / 2.428 GB, free: 101 MB / 0.948 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.01737/6.091, allocations: 12.98 MB / 2.441 GB, free: 95.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/6.092, allocations: 1.18 MB / 2.442 GB, free: 94.99 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/6.093, allocations: 0.6049 MB / 2.442 GB, free: 94.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/6.094, allocations: 1.779 MB / 2.444 GB, free: 93.01 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/6.095, allocations: 0.9393 MB / 2.445 GB, free: 92.72 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 3.466e-06/6.095, allocations: 0 / 2.445 GB, free: 92.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.02048/6.116, allocations: 10.56 MB / 2.455 GB, free: 86.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002592/6.116, allocations: 0.9345 MB / 2.456 GB, free: 85.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/6.119, allocations: 1.837 MB / 2.458 GB, free: 85.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003674/6.119, allocations: 40.08 kB / 2.458 GB, free: 85.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/6.12, allocations: 1.382 MB / 2.459 GB, free: 84.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/6.121, allocations: 413.6 kB / 2.46 GB, free: 84.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/6.121, allocations: 1.562 kB / 2.46 GB, free: 84.49 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/6.121, allocations: 364.8 kB / 2.46 GB, free: 84.19 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008954/6.122, allocations: 0.6048 MB / 2.461 GB, free: 84.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/6.123, allocations: 1.225 MB / 2.462 GB, free: 83.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/6.126, allocations: 0.9634 MB / 2.463 GB, free: 83.49 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/6.126, allocations: 2.125 kB / 2.463 GB, free: 83.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006259/6.133, allocations: 2.399 MB / 2.465 GB, free: 83.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001315/6.134, allocations: 5.123 MB / 2.47 GB, free: 77.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/6.134, allocations: 16.95 kB / 2.47 GB, free: 77.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/6.136, allocations: 0.8903 MB / 2.471 GB, free: 77.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/6.138, allocations: 451.7 kB / 2.471 GB, free: 77.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/6.141, allocations: 2.318 MB / 2.474 GB, free: 76.72 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004969/6.146, allocations: 369.9 kB / 2.474 GB, free: 76.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003076/6.147, allocations: 108.6 kB / 2.474 GB, free: 76.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/6.147, allocations: 4.938 kB / 2.474 GB, free: 76.71 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005441/6.152, allocations: 2.129 MB / 2.476 GB, free: 76.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/6.152, allocations: 14.55 kB / 2.476 GB, free: 76.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/6.154, allocations: 0.8873 MB / 2.477 GB, free: 76.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/6.156, allocations: 429.9 kB / 2.478 GB, free: 76.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/6.159, allocations: 2.329 MB / 2.48 GB, free: 75.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/6.163, allocations: 317.5 kB / 2.48 GB, free: 75.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/6.164, allocations: 106.6 kB / 2.48 GB, free: 75.54 MB / 0.948 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.0005132/6.164, allocations: 156.4 kB / 2.48 GB, free: 75.42 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0129/6.177, allocations: 2.456 MB / 2.483 GB, free: 75.21 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/6.178, allocations: 244 kB / 2.483 GB, free: 75.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00699/6.185, allocations: 1.88 MB / 2.485 GB, free: 74.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/6.186, allocations: 27.83 kB / 2.485 GB, free: 74.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/6.186, allocations: 3.969 kB / 2.485 GB, free: 74.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005853/6.191, allocations: 1.7 MB / 2.487 GB, free: 74.67 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/6.205, allocations: 6.26 MB / 2.493 GB, free: 72.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/6.205, allocations: 11.38 kB / 2.493 GB, free: 72.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/6.207, allocations: 271 kB / 2.493 GB, free: 72.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/6.208, allocations: 0.7707 MB / 2.494 GB, free: 72.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/6.208, allocations: 35.27 kB / 2.494 GB, free: 72.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/6.211, allocations: 2.082 MB / 2.496 GB, free: 71.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/6.211, allocations: 11.28 kB / 2.496 GB, free: 71.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008435/6.219, allocations: 3.411 MB / 2.499 GB, free: 70.47 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/6.222, allocations: 0.6163 MB / 2.5 GB, free: 70.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/6.223, allocations: 21.22 kB / 2.5 GB, free: 70.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003895/6.227, allocations: 252 kB / 2.5 GB, free: 70.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/6.227, allocations: 116 kB / 2.5 GB, free: 70.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/6.227, allocations: 71.72 kB / 2.5 GB, free: 70.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00281/6.23, allocations: 1.378 MB / 2.501 GB, free: 70.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.7e-07/6.23, allocations: 0 / 2.501 GB, free: 70.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007234/6.237, allocations: 1.56 MB / 2.503 GB, free: 69.97 MB / 0.948 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.01195/6.249, allocations: 6.949 MB / 2.51 GB, free: 66.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005508/6.255, allocations: 2.683 MB / 2.512 GB, free: 66.22 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/6.255, allocations: 6.188 kB / 2.512 GB, free: 66.22 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/6.256, allocations: 0.7753 MB / 2.513 GB, free: 66.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005959/6.262, allocations: 1.085 MB / 2.514 GB, free: 66.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/6.275, allocations: 4.147 MB / 2.518 GB, free: 64.91 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/6.277, allocations: 1.779 MB / 2.52 GB, free: 64.17 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004594/6.282, allocations: 0.7098 MB / 2.521 GB, free: 64.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/6.284, allocations: 1.099 MB / 2.522 GB, free: 64.13 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/6.284, allocations: 0 / 2.522 GB, free: 64.13 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/6.425, allocations: 89.09 MB / 2.609 GB, free: 45.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/6.426, allocations: 197.7 kB / 2.609 GB, free: 44.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.317/11.74, allocations: 4 kB / 2.609 GB, free: 44.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)