Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1",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.632/1.632, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001101/0.001101, allocations: 172.9 kB / 361.4 MB, free: 6.824 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.603/1.603, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0008469/0.0008469, allocations: 84.56 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.138e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5882/0.5882, allocations: 115.3 MB / 0.9644 GB, free: 79.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.647, allocations: 420.7 MB / 1.375 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/1.647, allocations: 94.06 kB / 1.375 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.651/6.298, allocations: 1.3 GB / 2.675 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.725e-06/6.298, allocations: 0 / 2.675 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006258/6.299, allocations: 91.95 kB / 2.676 GB, free: 10.18 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01252/6.311, allocations: 3.113 MB / 2.679 GB, free: 7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/6.311, allocations: 16.02 kB / 2.679 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/6.315, allocations: 0.5306 MB / 2.679 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/6.33, allocations: 4.311 MB / 2.683 GB, free: 2.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-05/6.33, allocations: 48 kB / 2.683 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004812/6.33, allocations: 120 kB / 2.683 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00302/6.333, allocations: 1.611 MB / 2.685 GB, free: 300 kB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6913/7.025, allocations: 1.823 MB / 2.687 GB, free: 148.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/7.025, allocations: 4.281 kB / 2.687 GB, free: 148.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/7.025, allocations: 11.69 kB / 2.687 GB, free: 148.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/7.025, allocations: 40.31 kB / 2.687 GB, free: 148.8 MB / 0.9636 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.01612/7.041, allocations: 11.2 MB / 2.698 GB, free: 142.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/7.043, allocations: 1.23 MB / 2.699 GB, free: 142.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/7.044, allocations: 0.9051 MB / 2.7 GB, free: 142.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006318/7.05, allocations: 3.397 MB / 2.703 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/7.051, allocations: 0.6567 MB / 2.704 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002307/7.054, allocations: 0.5721 MB / 2.704 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=98): time 3.096e-06/7.054, allocations: 0 / 2.704 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98): time 0.007598/7.061, allocations: 2.452 MB / 2.707 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/7.061, allocations: 62.34 kB / 2.707 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/7.065, allocations: 2.19 MB / 2.709 GB, free: 140.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/7.065, allocations: 33.77 kB / 2.709 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/7.066, allocations: 1.419 MB / 2.71 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/7.066, allocations: 337 kB / 2.711 GB, free: 140 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/7.066, allocations: 0 / 2.711 GB, free: 140 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001108/7.066, allocations: 365.3 kB / 2.711 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007328/7.067, allocations: 0.5265 MB / 2.712 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/7.068, allocations: 1.265 MB / 2.713 GB, free: 138.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005015/7.073, allocations: 1.325 MB / 2.714 GB, free: 138.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/7.073, allocations: 3.938 kB / 2.714 GB, free: 138.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.008205/7.082, allocations: 2.913 MB / 2.717 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001524/7.083, allocations: 5.948 MB / 2.723 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/7.083, allocations: 17.44 kB / 2.723 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009011/7.084, allocations: 443 kB / 2.723 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/7.085, allocations: 260.9 kB / 2.724 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/7.087, allocations: 2.014 MB / 2.725 GB, free: 131.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/7.089, allocations: 143.6 kB / 2.726 GB, free: 131.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/7.09, allocations: 78.86 kB / 2.726 GB, free: 131.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/7.09, allocations: 9.281 kB / 2.726 GB, free: 131.1 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00647/7.096, allocations: 2.512 MB / 2.728 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/7.096, allocations: 18.38 kB / 2.728 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007674/7.097, allocations: 406.1 kB / 2.729 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009965/7.098, allocations: 263 kB / 2.729 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006299/7.104, allocations: 5.615 MB / 2.734 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/7.107, allocations: 143.9 kB / 2.734 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/7.107, allocations: 72.72 kB / 2.735 GB, free: 128.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * 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 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005233/7.108, allocations: 155.5 kB / 2.735 GB, free: 128 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00676/7.115, allocations: 2.279 MB / 2.737 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/7.115, allocations: 280.3 kB / 2.737 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0075/7.122, allocations: 2.577 MB / 2.74 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/7.123, allocations: 10.31 kB / 2.74 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/7.123, allocations: 6.594 kB / 2.74 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00588/7.128, allocations: 2.307 MB / 2.742 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/7.139, allocations: 4.357 MB / 2.746 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/7.14, allocations: 5.297 kB / 2.746 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/7.14, allocations: 125.5 kB / 2.746 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007958/7.141, allocations: 389.1 kB / 2.747 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/7.141, allocations: 14 kB / 2.747 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/7.143, allocations: 1.861 MB / 2.749 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/7.143, allocations: 0 / 2.749 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007805/7.15, allocations: 3.266 MB / 2.752 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/7.152, allocations: 483.1 kB / 2.752 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/7.152, allocations: 7.172 kB / 2.752 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/7.153, allocations: 125.1 kB / 2.752 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/7.154, allocations: 73.44 kB / 2.752 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.163e-05/7.154, allocations: 37.8 kB / 2.752 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002339/7.156, allocations: 1.672 MB / 2.754 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.252e-06/7.156, allocations: 0 / 2.754 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004564/7.161, allocations: 1.392 MB / 2.755 GB, free: 124.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.009175/7.17, allocations: 4.653 MB / 2.76 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005214/7.175, allocations: 2.759 MB / 2.763 GB, free: 123 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/7.175, allocations: 3.375 kB / 2.763 GB, free: 123 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/7.176, allocations: 0.6358 MB / 2.763 GB, free: 123 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005745/7.182, allocations: 1.075 MB / 2.764 GB, free: 123 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009578/7.192, allocations: 4.494 MB / 2.769 GB, free: 122 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002103/7.194, allocations: 2.093 MB / 2.771 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.007534/7.201, allocations: 1.412 MB / 2.772 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002157/7.204, allocations: 1.1 MB / 2.773 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.643e-06/7.204, allocations: 0 / 2.773 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/7.354, allocations: 78.17 MB / 2.85 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/7.354, allocations: 171.5 kB / 2.85 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.126/12.48, allocations: 2.812 kB / 2.85 GB, free: 117.4 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)