Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001985/0.001985, allocations: 180.9 kB / 361.4 MB, free: 6.828 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.6/1.6, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008757/0.0008757, allocations: 104.7 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/3.01e-05, allocations: 4 kB / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.698, allocations: 115.3 MB / 0.9645 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.726, allocations: 403.6 MB / 1.359 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.726, allocations: 90.45 kB / 1.359 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.579/4.305, allocations: 0.6826 GB / 2.041 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.094e-06/4.305, allocations: 0 / 2.041 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003852/4.306, allocations: 47.03 kB / 2.041 GB, free: 182.1 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.006276/4.312, allocations: 1.849 MB / 2.043 GB, free: 181.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/4.312, allocations: 9.406 kB / 2.043 GB, free: 181.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/4.314, allocations: 284.4 kB / 2.043 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007355/4.321, allocations: 2.518 MB / 2.046 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.911e-05/4.321, allocations: 30.75 kB / 2.046 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003853/4.322, allocations: 61.88 kB / 2.046 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002041/4.324, allocations: 0.8396 MB / 2.047 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/4.326, allocations: 1.075 MB / 2.048 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.186e-05/4.326, allocations: 13.94 kB / 2.048 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/4.326, allocations: 7.453 kB / 2.048 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/4.326, allocations: 30.12 kB / 2.048 GB, free: 180.6 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.008457/4.335, allocations: 6.405 MB / 2.054 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/4.336, allocations: 0.5824 MB / 2.055 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/4.336, allocations: 374.4 kB / 2.055 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002912/4.339, allocations: 1.572 MB / 2.057 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004537/4.34, allocations: 324.2 kB / 2.057 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000881/4.34, allocations: 108.6 kB / 2.057 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 3.507e-06/4.34, allocations: 3.531 kB / 2.057 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.002019/4.342, allocations: 0.8136 MB / 2.058 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/4.343, allocations: 54.66 kB / 2.058 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/4.345, allocations: 1.36 MB / 2.059 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/4.345, allocations: 32.41 kB / 2.059 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007229/4.346, allocations: 0.8496 MB / 2.06 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/4.346, allocations: 164.5 kB / 2.06 GB, free: 175 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/4.346, allocations: 0 / 2.06 GB, free: 175 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/4.346, allocations: 338.4 kB / 2.06 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/4.346, allocations: 252.7 kB / 2.061 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/4.347, allocations: 0.679 MB / 2.061 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/4.348, allocations: 406.5 kB / 2.062 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/4.348, allocations: 3.719 kB / 2.062 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002368/4.35, allocations: 1.117 MB / 2.063 GB, free: 174 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.00105/4.351, allocations: 4.1 MB / 2.067 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/4.351, allocations: 10.19 kB / 2.067 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003293/4.352, allocations: 124 kB / 2.067 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/4.352, allocations: 175.4 kB / 2.067 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006358/4.353, allocations: 0.7884 MB / 2.068 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/4.354, allocations: 79.53 kB / 2.068 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/4.354, allocations: 47.78 kB / 2.068 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/4.354, allocations: 3.875 kB / 2.068 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001812/4.356, allocations: 0.9204 MB / 2.069 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/4.356, allocations: 10 kB / 2.069 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/4.357, allocations: 113.9 kB / 2.069 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/4.357, allocations: 165.6 kB / 2.069 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/4.359, allocations: 2.039 MB / 2.071 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/4.36, allocations: 77.23 kB / 2.071 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/4.36, allocations: 44.5 kB / 2.071 GB, free: 167.7 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.0002507/4.361, allocations: 139.9 kB / 2.071 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001642/4.362, allocations: 0.7502 MB / 2.072 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/4.363, allocations: 161 kB / 2.072 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/4.365, allocations: 0.9068 MB / 2.073 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/4.365, allocations: 3.688 kB / 2.073 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/4.365, allocations: 0 / 2.073 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/4.366, allocations: 0.8764 MB / 2.074 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004321/4.37, allocations: 1.974 MB / 2.076 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/4.37, allocations: 2.156 kB / 2.076 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/4.371, allocations: 88.16 kB / 2.076 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/4.371, allocations: 98.7 kB / 2.076 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/4.371, allocations: 11.27 kB / 2.076 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005309/4.371, allocations: 0.7424 MB / 2.077 GB, free: 166 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/4.371, allocations: 0 / 2.077 GB, free: 166 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/4.374, allocations: 1.269 MB / 2.078 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/4.375, allocations: 304.3 kB / 2.078 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005855/4.375, allocations: 6.5 kB / 2.078 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/4.377, allocations: 71.64 kB / 2.079 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/4.377, allocations: 45.05 kB / 2.079 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/4.377, allocations: 24.81 kB / 2.079 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001961/4.379, allocations: 1.042 MB / 2.08 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.51e-07/4.379, allocations: 0 / 2.08 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004467/4.383, allocations: 0.8513 MB / 2.08 GB, free: 165.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.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.005764/4.389, allocations: 2.561 MB / 2.083 GB, free: 164.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002737/4.392, allocations: 1.352 MB / 2.084 GB, free: 164 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/4.392, allocations: 0 / 2.084 GB, free: 164 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005356/4.392, allocations: 295.7 kB / 2.085 GB, free: 164 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/4.396, allocations: 0.6258 MB / 2.085 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/4.403, allocations: 2.664 MB / 2.088 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/4.405, allocations: 1.526 MB / 2.089 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003334/4.408, allocations: 0.8086 MB / 2.09 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009461/4.409, allocations: 0.6289 MB / 2.091 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of SimCode: time 2.615e-06/4.409, allocations: 0 / 2.091 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09584/4.505, allocations: 45.29 MB / 2.135 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/4.505, allocations: 169 kB / 2.135 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.728/8.233, allocations: 0 / 2.135 GB, free: 160.2 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)