Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.626/2.626, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001564/0.001564, allocations: 180.9 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001132/0.001131, allocations: 93.5 kB / 0.7321 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.285e-05, allocations: 4 kB / 0.8508 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8543/0.8543, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/2.145, allocations: 423.5 MB / 1.377 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/2.146, allocations: 89.72 kB / 1.377 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.802/7.948, allocations: 1.037 GB / 2.414 GB, free: 103.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.003e-06/7.948, allocations: 0 / 2.414 GB, free: 103.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005332/7.948, allocations: 81.41 kB / 2.414 GB, free: 103.8 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.01125/7.959, allocations: 3.18 MB / 2.417 GB, free: 102.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/7.959, allocations: 13 kB / 2.417 GB, free: 102.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01844/7.978, allocations: 1.318 MB / 2.419 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/7.99, allocations: 3.303 MB / 2.422 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/7.99, allocations: 170.6 kB / 2.422 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/7.991, allocations: 137.4 kB / 2.422 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007282/7.999, allocations: 2.014 MB / 2.424 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008237/8.007, allocations: 2.508 MB / 2.427 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/8.007, allocations: 8.656 kB / 2.427 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004862/8.008, allocations: 6.188 kB / 2.427 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/8.008, allocations: 69.47 kB / 2.427 GB, free: 101.2 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.03225/8.04, allocations: 12.99 MB / 2.439 GB, free: 95.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/8.043, allocations: 1.172 MB / 2.44 GB, free: 95.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/8.044, allocations: 0.5983 MB / 2.441 GB, free: 95.17 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002296/8.047, allocations: 1.781 MB / 2.443 GB, free: 93.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002411/8.049, allocations: 0.9421 MB / 2.444 GB, free: 92.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 6.422e-06/8.049, allocations: 3.312 kB / 2.444 GB, free: 92.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.03613/8.085, allocations: 10.56 MB / 2.454 GB, free: 86.88 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002631/8.086, allocations: 0.9352 MB / 2.455 GB, free: 85.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004638/8.09, allocations: 1.838 MB / 2.457 GB, free: 85.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005347/8.091, allocations: 33.27 kB / 2.457 GB, free: 85.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001766/8.093, allocations: 1.375 MB / 2.458 GB, free: 84.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007398/8.093, allocations: 412.2 kB / 2.459 GB, free: 84.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/8.094, allocations: 3.969 kB / 2.459 GB, free: 84.69 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001371/8.094, allocations: 369.3 kB / 2.459 GB, free: 84.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/8.096, allocations: 0.5998 MB / 2.459 GB, free: 84.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/8.098, allocations: 1.225 MB / 2.461 GB, free: 83.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006338/8.104, allocations: 0.9667 MB / 2.462 GB, free: 83.69 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.65e-05/8.104, allocations: 3.125 kB / 2.462 GB, free: 83.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01181/8.116, allocations: 2.399 MB / 2.464 GB, free: 83.49 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001158/8.117, allocations: 5.119 MB / 2.469 GB, free: 78.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.221e-05/8.118, allocations: 14.69 kB / 2.469 GB, free: 78.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003396/8.121, allocations: 0.8969 MB / 2.47 GB, free: 77.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004844/8.126, allocations: 452.2 kB / 2.47 GB, free: 77.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/8.131, allocations: 2.312 MB / 2.473 GB, free: 76.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008927/8.14, allocations: 375 kB / 2.473 GB, free: 76.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006519/8.14, allocations: 114.5 kB / 2.473 GB, free: 76.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/8.141, allocations: 6.031 kB / 2.473 GB, free: 76.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01001/8.151, allocations: 2.114 MB / 2.475 GB, free: 76.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-05/8.151, allocations: 11.44 kB / 2.475 GB, free: 76.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004641/8.155, allocations: 0.8937 MB / 2.476 GB, free: 76.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007043/8.162, allocations: 431.2 kB / 2.476 GB, free: 76.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007815/8.17, allocations: 2.33 MB / 2.479 GB, free: 75.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01187/8.182, allocations: 321 kB / 2.479 GB, free: 75.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009479/8.183, allocations: 108.3 kB / 2.479 GB, free: 75.73 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.001522/8.185, allocations: 159.8 kB / 2.479 GB, free: 75.61 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03787/8.223, allocations: 2.451 MB / 2.482 GB, free: 75.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00175/8.225, allocations: 250.8 kB / 2.482 GB, free: 75.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01942/8.244, allocations: 1.884 MB / 2.484 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-05/8.244, allocations: 18.47 kB / 2.484 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/8.244, allocations: 7.812 kB / 2.484 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01067/8.255, allocations: 1.708 MB / 2.485 GB, free: 74.86 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/8.274, allocations: 6.262 MB / 2.491 GB, free: 72.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/8.275, allocations: 7.719 kB / 2.491 GB, free: 72.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/8.278, allocations: 269.7 kB / 2.492 GB, free: 72.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/8.281, allocations: 0.7811 MB / 2.493 GB, free: 72.92 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003126/8.281, allocations: 35.02 kB / 2.493 GB, free: 72.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003928/8.285, allocations: 2.074 MB / 2.495 GB, free: 71.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/8.285, allocations: 8.375 kB / 2.495 GB, free: 71.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/8.3, allocations: 3.414 MB / 2.498 GB, free: 70.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002524/8.302, allocations: 0.612 MB / 2.499 GB, free: 70.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/8.303, allocations: 23.05 kB / 2.499 GB, free: 70.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006997/8.31, allocations: 261.6 kB / 2.499 GB, free: 70.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004722/8.311, allocations: 111.4 kB / 2.499 GB, free: 70.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003447/8.311, allocations: 71.61 kB / 2.499 GB, free: 70.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003535/8.315, allocations: 1.377 MB / 2.5 GB, free: 70.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.42e-07/8.315, allocations: 0 / 2.5 GB, free: 70.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009586/8.324, allocations: 1.559 MB / 2.502 GB, free: 70.16 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.01854/8.343, allocations: 6.941 MB / 2.509 GB, free: 66.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008031/8.351, allocations: 2.684 MB / 2.511 GB, free: 66.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/8.351, allocations: 7.094 kB / 2.511 GB, free: 66.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002509/8.354, allocations: 0.7709 MB / 2.512 GB, free: 66.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00932/8.363, allocations: 1.091 MB / 2.513 GB, free: 66.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/8.383, allocations: 4.152 MB / 2.517 GB, free: 65.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002756/8.385, allocations: 1.764 MB / 2.519 GB, free: 64.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01003/8.396, allocations: 0.7176 MB / 2.52 GB, free: 64.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003745/8.399, allocations: 1.106 MB / 2.521 GB, free: 64.31 MB / 0.948 GB Notification: Performance of SimCode: time 2.004e-06/8.399, allocations: 2.812 kB / 2.521 GB, free: 64.31 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2797/8.679, allocations: 89.08 MB / 2.608 GB, free: 47.12 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/8.679, allocations: 183.1 kB / 2.608 GB, free: 46.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/15.81, allocations: 0 / 2.608 GB, free: 46.93 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)