Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example2",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.637/1.637, allocations: 289.7 MB / 302.2 MB, free: 2.102 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.001099/0.001098, allocations: 179.9 kB / 371.6 MB, free: 3.375 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.595/1.595, allocations: 205.1 MB / 0.6309 GB, free: 11.72 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.0009029/0.0009029, allocations: 92.06 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.826e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.094/1.416, allocations: 405.2 MB / 1.376 GB, free: 7.082 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.416, allocations: 89.83 kB / 1.376 GB, free: 7.039 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.512/3.929, allocations: 478.3 MB / 1.843 GB, free: 199.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.894e-06/3.929, allocations: 2.438 kB / 1.843 GB, free: 199.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002407/3.929, allocations: 40.42 kB / 1.843 GB, free: 199.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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004356/3.933, allocations: 1.525 MB / 1.844 GB, free: 198.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/3.934, allocations: 11.25 kB / 1.844 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002163/3.934, allocations: 121.4 kB / 1.844 GB, free: 198.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/3.935, allocations: 237.6 kB / 1.845 GB, free: 198.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005286/3.94, allocations: 1.921 MB / 1.847 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/3.941, allocations: 75.64 kB / 1.847 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/3.941, allocations: 84.67 kB / 1.847 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/3.942, allocations: 0.9121 MB / 1.848 GB, free: 198.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/3.943, allocations: 12.22 kB / 1.848 GB, free: 198.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.57e-05/3.943, allocations: 33.38 kB / 1.848 GB, free: 198.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/3.943, allocations: 18.69 kB / 1.848 GB, free: 198.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/3.944, allocations: 0.6378 MB / 1.848 GB, free: 198.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.007678/3.951, allocations: 4.598 MB / 1.853 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/3.953, allocations: 0.5419 MB / 1.853 GB, free: 195.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005729/3.953, allocations: 294.1 kB / 1.854 GB, free: 195.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003525/3.957, allocations: 1.707 MB / 1.855 GB, free: 194.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000621/3.957, allocations: 315 kB / 1.856 GB, free: 194.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006916/3.958, allocations: 109 kB / 1.856 GB, free: 194.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 3.296e-06/3.958, allocations: 0 / 1.856 GB, free: 194.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.00136/3.959, allocations: 0.6441 MB / 1.856 GB, free: 194.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/3.959, allocations: 61.11 kB / 1.856 GB, free: 194.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/3.961, allocations: 1.11 MB / 1.857 GB, free: 194.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/3.961, allocations: 36.83 kB / 1.857 GB, free: 194.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/3.962, allocations: 0.6471 MB / 1.858 GB, free: 194.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/3.962, allocations: 156.9 kB / 1.858 GB, free: 194.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/3.962, allocations: 15.25 kB / 1.858 GB, free: 194.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/3.962, allocations: 335.5 kB / 1.859 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/3.963, allocations: 202.8 kB / 1.859 GB, free: 193.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/3.963, allocations: 0.5389 MB / 1.859 GB, free: 193.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/3.964, allocations: 314.6 kB / 1.86 GB, free: 193.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/3.964, allocations: 3.812 kB / 1.86 GB, free: 193.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001748/3.966, allocations: 0.9475 MB / 1.86 GB, free: 193.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008359/3.967, allocations: 3.044 MB / 1.863 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/3.967, allocations: 9.297 kB / 1.863 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004684/3.967, allocations: 140.2 kB / 1.864 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/3.968, allocations: 148.3 kB / 1.864 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009254/3.969, allocations: 0.7635 MB / 1.864 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/3.97, allocations: 80.2 kB / 1.865 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/3.97, allocations: 45.12 kB / 1.865 GB, free: 189.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/3.97, allocations: 5.812 kB / 1.865 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001696/3.972, allocations: 0.8576 MB / 1.865 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/3.972, allocations: 7.875 kB / 1.865 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/3.972, allocations: 107.6 kB / 1.866 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/3.973, allocations: 139.2 kB / 1.866 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/3.975, allocations: 2.206 MB / 1.868 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/3.976, allocations: 75.58 kB / 1.868 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/3.976, allocations: 37.95 kB / 1.868 GB, free: 187.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002718/3.976, allocations: 159.3 kB / 1.868 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/3.977, allocations: 126.9 kB / 1.868 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/3.979, allocations: 0.8195 MB / 1.869 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/3.979, allocations: 5.859 kB / 1.869 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/3.979, allocations: 4.469 kB / 1.869 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/3.98, allocations: 0.817 MB / 1.87 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/3.984, allocations: 1.823 MB / 1.872 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/3.984, allocations: 1.281 kB / 1.872 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/3.984, allocations: 84.55 kB / 1.872 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003538/3.984, allocations: 126.4 kB / 1.872 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/3.984, allocations: 15.91 kB / 1.872 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000642/3.985, allocations: 0.7512 MB / 1.873 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/3.985, allocations: 6.875 kB / 1.873 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/3.987, allocations: 1.141 MB / 1.874 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/3.988, allocations: 269 kB / 1.874 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/3.988, allocations: 7.562 kB / 1.874 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006986/3.988, allocations: 76.11 kB / 1.874 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/3.989, allocations: 40.69 kB / 1.874 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/3.989, allocations: 21.2 kB / 1.874 GB, free: 185.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001491/3.99, allocations: 0.8664 MB / 1.875 GB, free: 185.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/3.99, allocations: 0 / 1.875 GB, free: 185.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003292/3.993, allocations: 0.7223 MB / 1.876 GB, free: 185.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004165/3.998, allocations: 2.436 MB / 1.878 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002928/4.001, allocations: 1.258 MB / 1.879 GB, free: 184.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/4.001, allocations: 0 / 1.879 GB, free: 184.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006469/4.001, allocations: 307.1 kB / 1.88 GB, free: 184.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/4.004, allocations: 0.5719 MB / 1.88 GB, free: 184.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/4.01, allocations: 2.087 MB / 1.882 GB, free: 183.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/4.011, allocations: 1.296 MB / 1.883 GB, free: 182.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002403/4.013, allocations: 0.5538 MB / 1.884 GB, free: 182.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005994/4.014, allocations: 478.8 kB / 1.884 GB, free: 182.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/4.014, allocations: 1.594 kB / 1.884 GB, free: 182.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08902/4.103, allocations: 43.98 MB / 1.927 GB, free: 180.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/4.103, allocations: 221.8 kB / 1.928 GB, free: 179.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.023/8.126, allocations: 0 / 1.928 GB, free: 179.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)