Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.58/2.58, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001534/0.001534, allocations: 184.9 kB / 360.6 MB, free: 7.293 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.042/2.042, allocations: 205.3 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.001149/0.001148, allocations: 90.78 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.791e-05, allocations: 4 kB / 0.8508 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.867, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/2.174, allocations: 403.4 MB / 1.357 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/2.174, allocations: 93.88 kB / 1.357 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.229/4.402, allocations: 475.4 MB / 1.822 GB, free: 144.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.146e-06/4.403, allocations: 4 kB / 1.822 GB, free: 144.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000243/4.403, allocations: 35.75 kB / 1.822 GB, free: 144.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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004343/4.407, allocations: 1.522 MB / 1.823 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/4.407, allocations: 8.031 kB / 1.823 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/4.409, allocations: 237.5 kB / 1.823 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007177/4.416, allocations: 1.935 MB / 1.825 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/4.417, allocations: 24 kB / 1.825 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/4.417, allocations: 52 kB / 1.825 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001674/4.418, allocations: 0.617 MB / 1.826 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/4.42, allocations: 0.8126 MB / 1.827 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/4.42, allocations: 8 kB / 1.827 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/4.42, allocations: 0 / 1.827 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/4.42, allocations: 20 kB / 1.827 GB, free: 139.3 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.00777/4.428, allocations: 4.457 MB / 1.831 GB, free: 134.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/4.429, allocations: 0.5585 MB / 1.832 GB, free: 134.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/4.43, allocations: 295.8 kB / 1.832 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003896/4.434, allocations: 1.687 MB / 1.834 GB, free: 132 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006094/4.435, allocations: 290.3 kB / 1.834 GB, free: 131.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007316/4.435, allocations: 95.45 kB / 1.834 GB, free: 131.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=46): time 4.228e-06/4.435, allocations: 0 / 1.834 GB, free: 131.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46): time 0.002401/4.438, allocations: 0.7019 MB / 1.835 GB, free: 130.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/4.438, allocations: 59.41 kB / 1.835 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/4.44, allocations: 0.995 MB / 1.836 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/4.44, allocations: 25.7 kB / 1.836 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/4.44, allocations: 0.6408 MB / 1.836 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/4.441, allocations: 153.8 kB / 1.837 GB, free: 129 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/4.441, allocations: 3.938 kB / 1.837 GB, free: 129 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.208e-05/4.441, allocations: 334 kB / 1.837 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/4.441, allocations: 217.4 kB / 1.837 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/4.442, allocations: 0.5322 MB / 1.838 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/4.443, allocations: 342.6 kB / 1.838 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/4.443, allocations: 0 / 1.838 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002928/4.446, allocations: 0.9435 MB / 1.839 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006419/4.447, allocations: 3.038 MB / 1.842 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/4.447, allocations: 8 kB / 1.842 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/4.447, allocations: 116.8 kB / 1.842 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/4.448, allocations: 147.8 kB / 1.842 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/4.449, allocations: 0.7863 MB / 1.843 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/4.451, allocations: 67.78 kB / 1.843 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/4.451, allocations: 48.05 kB / 1.843 GB, free: 122 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/4.451, allocations: 4.625 kB / 1.843 GB, free: 122 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002494/4.454, allocations: 0.7863 MB / 1.844 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/4.454, allocations: 8 kB / 1.844 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/4.454, allocations: 108.5 kB / 1.844 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/4.455, allocations: 135.8 kB / 1.844 GB, free: 121 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/4.458, allocations: 2.116 MB / 1.846 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/4.459, allocations: 59.86 kB / 1.846 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/4.459, allocations: 43.97 kB / 1.846 GB, free: 118.6 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 () * 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.0002807/4.46, allocations: 136.5 kB / 1.846 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002166/4.462, allocations: 0.6399 MB / 1.847 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/4.462, allocations: 122.4 kB / 1.847 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/4.465, allocations: 0.806 MB / 1.848 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/4.465, allocations: 4 kB / 1.848 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/4.465, allocations: 0 / 1.848 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001644/4.466, allocations: 0.8045 MB / 1.849 GB, free: 116 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/4.471, allocations: 1.698 MB / 1.85 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/4.471, allocations: 0 / 1.85 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/4.471, allocations: 87.94 kB / 1.85 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002934/4.472, allocations: 96.09 kB / 1.85 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/4.472, allocations: 11.98 kB / 1.85 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007447/4.473, allocations: 0.7551 MB / 1.851 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/4.473, allocations: 128 / 1.851 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/4.475, allocations: 1.117 MB / 1.852 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008156/4.476, allocations: 263.4 kB / 1.853 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/4.476, allocations: 7.984 kB / 1.853 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/4.478, allocations: 55.94 kB / 1.853 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/4.478, allocations: 44.33 kB / 1.853 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-05/4.478, allocations: 23.98 kB / 1.853 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001398/4.479, allocations: 0.7631 MB / 1.853 GB, free: 111 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.11e-07/4.479, allocations: 0 / 1.853 GB, free: 111 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003122/4.482, allocations: 0.6977 MB / 1.854 GB, free: 110.3 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) * 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.004331/4.487, allocations: 2.367 MB / 1.856 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003005/4.49, allocations: 1.21 MB / 1.858 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/4.49, allocations: 4.062 kB / 1.858 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007846/4.491, allocations: 285.4 kB / 1.858 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003932/4.495, allocations: 0.5148 MB / 1.858 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/4.5, allocations: 2.028 MB / 1.86 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008502/4.501, allocations: 1.297 MB / 1.862 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003258/4.505, allocations: 0.5632 MB / 1.862 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008802/4.505, allocations: 475.3 kB / 1.863 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.413e-06/4.506, allocations: 0 / 1.863 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/4.613, allocations: 37.16 MB / 1.899 GB, free: 64.55 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/4.614, allocations: 172.9 kB / 1.899 GB, free: 64.35 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.164/8.778, allocations: 0 / 1.899 GB, free: 64.35 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)