Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 289.7 MB / 302.2 MB, free: 2.223 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.001119/0.001119, allocations: 182.2 kB / 371.6 MB, free: 3.406 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.331/1.331, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008287/0.0008287, allocations: 90.59 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.688e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2342, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.244, allocations: 405.2 MB / 1.376 GB, free: 7.062 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.244, allocations: 91.48 kB / 1.376 GB, free: 7.016 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.571/3.815, allocations: 0.6864 GB / 2.062 GB, free: 58.56 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.834e-06/3.815, allocations: 0 / 2.062 GB, free: 58.56 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003134/3.815, allocations: 52.14 kB / 2.062 GB, free: 58.51 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004997/3.82, allocations: 1.847 MB / 2.064 GB, free: 56.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/3.82, allocations: 8.031 kB / 2.064 GB, free: 56.61 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004033/3.821, allocations: 147.8 kB / 2.064 GB, free: 56.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/3.822, allocations: 281.4 kB / 2.064 GB, free: 56.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0053/3.828, allocations: 2.518 MB / 2.067 GB, free: 53.61 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/3.828, allocations: 81.94 kB / 2.067 GB, free: 53.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/3.828, allocations: 116.9 kB / 2.067 GB, free: 53.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/3.83, allocations: 1.202 MB / 2.068 GB, free: 52.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/3.83, allocations: 7.891 kB / 2.068 GB, free: 52.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.119e-05/3.83, allocations: 40 kB / 2.068 GB, free: 52.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/3.83, allocations: 28 kB / 2.068 GB, free: 52.06 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/3.831, allocations: 0.8783 MB / 2.069 GB, free: 51.18 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.006179/3.837, allocations: 6.612 MB / 2.076 GB, free: 44.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/3.838, allocations: 0.5592 MB / 2.076 GB, free: 43.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/3.838, allocations: 367.1 kB / 2.076 GB, free: 43.19 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/3.841, allocations: 1.623 MB / 2.078 GB, free: 41.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004503/3.841, allocations: 345.2 kB / 2.078 GB, free: 41.09 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005878/3.842, allocations: 131.3 kB / 2.079 GB, free: 40.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.594e-06/3.842, allocations: 0 / 2.079 GB, free: 40.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001278/3.843, allocations: 0.7562 MB / 2.079 GB, free: 40.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/3.843, allocations: 59.84 kB / 2.079 GB, free: 40.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/3.845, allocations: 1.545 MB / 2.081 GB, free: 38.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/3.845, allocations: 41.64 kB / 2.081 GB, free: 38.49 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006505/3.846, allocations: 0.8504 MB / 2.082 GB, free: 37.63 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/3.846, allocations: 165.7 kB / 2.082 GB, free: 37.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/3.846, allocations: 16 kB / 2.082 GB, free: 37.45 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001049/3.846, allocations: 341.9 kB / 2.082 GB, free: 37.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/3.846, allocations: 249.7 kB / 2.082 GB, free: 36.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/3.847, allocations: 0.6864 MB / 2.083 GB, free: 35.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/3.847, allocations: 397.2 kB / 2.083 GB, free: 35.58 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/3.847, allocations: 0 / 2.083 GB, free: 35.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001533/3.849, allocations: 1.137 MB / 2.085 GB, free: 34.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007489/3.85, allocations: 4.129 MB / 2.089 GB, free: 29.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/3.85, allocations: 12 kB / 2.089 GB, free: 29.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/3.85, allocations: 136.7 kB / 2.089 GB, free: 29.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/3.851, allocations: 175.7 kB / 2.089 GB, free: 29.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005094/3.851, allocations: 0.7552 MB / 2.09 GB, free: 28.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/3.852, allocations: 103.8 kB / 2.09 GB, free: 28.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.347e-05/3.853, allocations: 47.98 kB / 2.09 GB, free: 28.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/3.853, allocations: 4.781 kB / 2.09 GB, free: 28.72 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001305/3.854, allocations: 1.012 MB / 2.091 GB, free: 27.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/3.854, allocations: 12 kB / 2.091 GB, free: 27.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/3.854, allocations: 116.7 kB / 2.091 GB, free: 27.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/3.855, allocations: 171.7 kB / 2.091 GB, free: 27.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/3.856, allocations: 2.121 MB / 2.093 GB, free: 25.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/3.857, allocations: 99.78 kB / 2.093 GB, free: 25.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/3.857, allocations: 40 kB / 2.093 GB, free: 24.99 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001622/3.857, allocations: 164.7 kB / 2.093 GB, free: 24.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/3.858, allocations: 169.8 kB / 2.094 GB, free: 24.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/3.859, allocations: 0.9492 MB / 2.095 GB, free: 23.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/3.859, allocations: 4 kB / 2.095 GB, free: 23.69 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/3.859, allocations: 4 kB / 2.095 GB, free: 23.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009217/3.86, allocations: 0.8942 MB / 2.095 GB, free: 22.72 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/3.863, allocations: 2.101 MB / 2.097 GB, free: 20.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/3.863, allocations: 0 / 2.097 GB, free: 20.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/3.863, allocations: 91.94 kB / 2.098 GB, free: 20.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/3.864, allocations: 121.8 kB / 2.098 GB, free: 20.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/3.864, allocations: 15.98 kB / 2.098 GB, free: 20.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004341/3.864, allocations: 0.7284 MB / 2.098 GB, free: 19.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/3.864, allocations: 4 kB / 2.098 GB, free: 19.55 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/3.866, allocations: 1.321 MB / 2.1 GB, free: 18.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/3.866, allocations: 318.8 kB / 2.1 GB, free: 17.85 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/3.866, allocations: 12 kB / 2.1 GB, free: 17.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/3.867, allocations: 71.89 kB / 2.1 GB, free: 17.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/3.867, allocations: 52.33 kB / 2.1 GB, free: 17.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/3.867, allocations: 19.98 kB / 2.1 GB, free: 17.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001347/3.868, allocations: 1.212 MB / 2.101 GB, free: 16.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/3.868, allocations: 0 / 2.101 GB, free: 16.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00239/3.871, allocations: 0.8698 MB / 2.102 GB, free: 15.58 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002768/3.874, allocations: 2.624 MB / 2.105 GB, free: 12.94 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001794/3.875, allocations: 1.417 MB / 2.106 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/3.875, allocations: 1.5 kB / 2.106 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000414/3.876, allocations: 306.4 kB / 2.106 GB, free: 11.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/3.879, allocations: 0.7343 MB / 2.107 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/3.883, allocations: 2.748 MB / 2.11 GB, free: 7.648 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/3.884, allocations: 1.535 MB / 2.111 GB, free: 6.086 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002478/3.886, allocations: 0.8909 MB / 2.112 GB, free: 5.191 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/3.887, allocations: 0.6164 MB / 2.113 GB, free: 4.574 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/3.887, allocations: 0 / 2.113 GB, free: 4.574 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6959/4.582, allocations: 54.6 MB / 2.166 GB, free: 186.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/4.583, allocations: 216.7 kB / 2.166 GB, free: 186.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.443/9.025, allocations: 4 kB / 2.166 GB, free: 186.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)