Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.632/1.632, allocations: 288.2 MB / 303.2 MB, free: 8.09 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.001169/0.001169, allocations: 179.5 kB / 371.8 MB, free: 10.25 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.615/1.615, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009148/0.0009145, allocations: 98.91 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003918, allocations: 11.16 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2184, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9746/1.193, allocations: 404.3 MB / 1.374 GB, free: 7.742 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/1.193, allocations: 97.7 kB / 1.374 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.083/3.277, allocations: 480.1 MB / 1.843 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.087e-06/3.277, allocations: 6.844 kB / 1.843 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002172/3.277, allocations: 41.59 kB / 1.843 GB, free: 224.8 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005098/3.282, allocations: 1.953 MB / 1.845 GB, free: 224 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/3.282, allocations: 10.94 kB / 1.845 GB, free: 224 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/3.282, allocations: 121.4 kB / 1.845 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009842/3.283, allocations: 233.8 kB / 1.846 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004302/3.288, allocations: 1.969 MB / 1.848 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/3.288, allocations: 64.05 kB / 1.848 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/3.288, allocations: 86.56 kB / 1.848 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/3.289, allocations: 0.9538 MB / 1.849 GB, free: 223.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/3.289, allocations: 3.281 kB / 1.849 GB, free: 223.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/3.29, allocations: 35.75 kB / 1.849 GB, free: 223.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/3.29, allocations: 18.47 kB / 1.849 GB, free: 223.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/3.291, allocations: 0.7123 MB / 1.849 GB, free: 223.3 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005201/3.296, allocations: 4.605 MB / 1.854 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/3.297, allocations: 0.5944 MB / 1.854 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00237/3.3, allocations: 1.7 MB / 1.856 GB, free: 220 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006257/3.3, allocations: 343 kB / 1.856 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004259/3.301, allocations: 114.9 kB / 1.857 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=46): time 3.266e-06/3.301, allocations: 0 / 1.857 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46): time 0.002455/3.303, allocations: 1.12 MB / 1.858 GB, free: 219.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/3.303, allocations: 54.97 kB / 1.858 GB, free: 219.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/3.305, allocations: 1.125 MB / 1.859 GB, free: 219.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/3.305, allocations: 39.73 kB / 1.859 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005055/3.305, allocations: 0.6467 MB / 1.859 GB, free: 219.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/3.305, allocations: 150.6 kB / 1.86 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/3.305, allocations: 15.34 kB / 1.86 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/3.305, allocations: 330.3 kB / 1.86 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/3.306, allocations: 242.5 kB / 1.86 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/3.307, allocations: 0.5759 MB / 1.861 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/3.307, allocations: 354.7 kB / 1.861 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/3.307, allocations: 0 / 1.861 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001663/3.309, allocations: 1.012 MB / 1.862 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007226/3.31, allocations: 3.048 MB / 1.865 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/3.31, allocations: 10.38 kB / 1.865 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003613/3.31, allocations: 150.8 kB / 1.865 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/3.31, allocations: 140.6 kB / 1.865 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006168/3.311, allocations: 0.766 MB / 1.866 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/3.312, allocations: 86.42 kB / 1.866 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-05/3.312, allocations: 38.94 kB / 1.866 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/3.312, allocations: 5.969 kB / 1.866 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001499/3.314, allocations: 0.9086 MB / 1.867 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/3.314, allocations: 17.36 kB / 1.867 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/3.314, allocations: 107.8 kB / 1.867 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/3.314, allocations: 145.5 kB / 1.867 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/3.316, allocations: 2.228 MB / 1.869 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008963/3.317, allocations: 79.42 kB / 1.87 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/3.317, allocations: 39.91 kB / 1.87 GB, free: 212.9 MB / 0.9323 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 () * Number of clocked 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.0008581/3.318, allocations: 481.1 kB / 1.87 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/3.318, allocations: 136.1 kB / 1.87 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/3.32, allocations: 0.8818 MB / 1.871 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/3.32, allocations: 3.938 kB / 1.871 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/3.32, allocations: 0 / 1.871 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/3.322, allocations: 0.8891 MB / 1.872 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/3.325, allocations: 1.871 MB / 1.874 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/3.325, allocations: 5.469 kB / 1.874 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/3.326, allocations: 83.31 kB / 1.874 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/3.326, allocations: 128.5 kB / 1.874 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/3.326, allocations: 15.22 kB / 1.874 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000509/3.327, allocations: 0.7432 MB / 1.875 GB, free: 211.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/3.327, allocations: 3.953 kB / 1.875 GB, free: 211.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/3.329, allocations: 1.243 MB / 1.876 GB, free: 210.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006389/3.329, allocations: 263.1 kB / 1.876 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/3.33, allocations: 11.59 kB / 1.876 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008355/3.331, allocations: 72 kB / 1.876 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/3.331, allocations: 37.59 kB / 1.876 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/3.331, allocations: 26.33 kB / 1.876 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001403/3.332, allocations: 0.8808 MB / 1.877 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.172e-06/3.332, allocations: 0 / 1.877 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002947/3.335, allocations: 0.7213 MB / 1.878 GB, free: 210.5 MB / 0.9323 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) * Number of clocked states: 0 () * 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.004014/3.339, allocations: 2.538 MB / 1.88 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002809/3.342, allocations: 1.308 MB / 1.882 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/3.342, allocations: 0 / 1.882 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007018/3.343, allocations: 338.8 kB / 1.882 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/3.346, allocations: 0.559 MB / 1.882 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008446/3.354, allocations: 8.809 MB / 1.891 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/3.355, allocations: 1.3 MB / 1.892 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001663/3.357, allocations: 305.8 kB / 1.893 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007653/3.358, allocations: 0.4894 MB / 1.893 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.282e-06/3.358, allocations: 0 / 1.893 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07098/3.429, allocations: 40.72 MB / 1.933 GB, free: 195.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/3.429, allocations: 261.1 kB / 1.933 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.475/6.904, allocations: 7.938 kB / 1.933 GB, free: 195.1 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)