Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Examples.Performance.Example3,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.527/2.527, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.001418/0.001418, allocations: 184.8 kB / 360.6 MB, free: 7.266 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.103/2.103, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001085/0.001084, allocations: 89.52 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.681e-05, allocations: 0 / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8396/0.8397, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/2.104, allocations: 403.4 MB / 1.357 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/2.105, allocations: 89.45 kB / 1.357 GB, free: 164 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.698/5.802, allocations: 0.6826 GB / 2.04 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.933e-06/5.802, allocations: 2.75 kB / 2.04 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003275/5.803, allocations: 49.72 kB / 2.04 GB, free: 181.7 MB / 0.9323 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.006007/5.809, allocations: 1.854 MB / 2.042 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/5.809, allocations: 15.62 kB / 2.042 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/5.811, allocations: 288.6 kB / 2.042 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009163/5.82, allocations: 2.508 MB / 2.045 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.039e-05/5.82, allocations: 31.12 kB / 2.045 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/5.821, allocations: 63.81 kB / 2.045 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002196/5.823, allocations: 0.8445 MB / 2.045 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/5.825, allocations: 1.075 MB / 2.047 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.22e-05/5.825, allocations: 2.625 kB / 2.047 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/5.825, allocations: 7.766 kB / 2.047 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/5.825, allocations: 29.09 kB / 2.047 GB, free: 180.2 MB / 0.9323 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.01014/5.836, allocations: 6.408 MB / 2.053 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/5.837, allocations: 0.5751 MB / 2.053 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/5.838, allocations: 370.2 kB / 2.054 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003803/5.841, allocations: 1.583 MB / 2.055 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006446/5.842, allocations: 321.4 kB / 2.056 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001019/5.843, allocations: 114.7 kB / 2.056 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 3.286e-06/5.843, allocations: 3.5 kB / 2.056 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.002575/5.846, allocations: 0.8047 MB / 2.057 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/5.846, allocations: 63.03 kB / 2.057 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/5.848, allocations: 1.356 MB / 2.058 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/5.848, allocations: 30.27 kB / 2.058 GB, free: 175 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008343/5.849, allocations: 0.8473 MB / 2.059 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/5.849, allocations: 158 kB / 2.059 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/5.849, allocations: 3.469 kB / 2.059 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.689e-05/5.85, allocations: 342.4 kB / 2.059 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/5.85, allocations: 248.3 kB / 2.059 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007756/5.851, allocations: 0.6804 MB / 2.06 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/5.852, allocations: 412.8 kB / 2.061 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/5.852, allocations: 7.672 kB / 2.061 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003353/5.856, allocations: 1.115 MB / 2.062 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008391/5.857, allocations: 4.098 MB / 2.066 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/5.857, allocations: 11.88 kB / 2.066 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/5.857, allocations: 116.8 kB / 2.066 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/5.858, allocations: 175 kB / 2.066 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008706/5.859, allocations: 0.7906 MB / 2.067 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/5.861, allocations: 80.27 kB / 2.067 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/5.861, allocations: 51.2 kB / 2.067 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/5.861, allocations: 3.938 kB / 2.067 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002639/5.864, allocations: 0.9268 MB / 2.068 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/5.864, allocations: 11.81 kB / 2.068 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/5.864, allocations: 107.2 kB / 2.068 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/5.865, allocations: 169.9 kB / 2.068 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/5.868, allocations: 2.031 MB / 2.07 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/5.87, allocations: 79.28 kB / 2.07 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/5.87, allocations: 45.19 kB / 2.07 GB, free: 167.4 MB / 0.9323 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.0002949/5.87, allocations: 139.9 kB / 2.07 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002254/5.873, allocations: 0.7583 MB / 2.071 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/5.873, allocations: 159.3 kB / 2.071 GB, free: 167 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/5.875, allocations: 0.904 MB / 2.072 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/5.875, allocations: 11.2 kB / 2.072 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/5.876, allocations: 2.844 kB / 2.072 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001688/5.877, allocations: 0.8674 MB / 2.073 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/5.882, allocations: 1.966 MB / 2.075 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/5.882, allocations: 3.906 kB / 2.075 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/5.883, allocations: 92.3 kB / 2.075 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003148/5.883, allocations: 99.11 kB / 2.075 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/5.883, allocations: 15.45 kB / 2.075 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006715/5.884, allocations: 0.7301 MB / 2.076 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/5.884, allocations: 3.422 kB / 2.076 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/5.887, allocations: 1.276 MB / 2.077 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009162/5.888, allocations: 307.4 kB / 2.077 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/5.888, allocations: 3.219 kB / 2.077 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/5.889, allocations: 72.88 kB / 2.077 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/5.89, allocations: 44.55 kB / 2.077 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/5.89, allocations: 24.58 kB / 2.077 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001859/5.892, allocations: 1.042 MB / 2.078 GB, free: 165 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.51e-07/5.892, allocations: 0 / 2.078 GB, free: 165 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003746/5.895, allocations: 0.8498 MB / 2.079 GB, free: 164.9 MB / 0.9323 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.004488/5.9, allocations: 2.562 MB / 2.082 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002827/5.903, allocations: 1.352 MB / 2.083 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/5.903, allocations: 0 / 2.083 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006773/5.903, allocations: 303.9 kB / 2.083 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/5.908, allocations: 0.6259 MB / 2.084 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006957/5.915, allocations: 2.658 MB / 2.087 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/5.916, allocations: 1.532 MB / 2.088 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004255/5.921, allocations: 0.8028 MB / 2.089 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/5.922, allocations: 0.6279 MB / 2.089 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.222e-06/5.922, allocations: 0 / 2.089 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1314/6.053, allocations: 45.27 MB / 2.134 GB, free: 160 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/6.053, allocations: 169.9 kB / 2.134 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.617/10.67, allocations: 0 / 2.134 GB, free: 159.8 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)