Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 252 MB / 267.3 MB, free: 10.81 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 168.1 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 0.578 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007639/0.0007639, allocations: 87.78 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003094, allocations: 9.031 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02315/0.1812, allocations: 31.89 MB / 0.9321 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.1979, allocations: 13.35 MB / 0.9451 GB, free: 18.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.1994, allocations: 39.75 kB / 0.9451 GB, free: 17.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.2012, allocations: 0.6259 MB / 0.9457 GB, free: 17.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003685/0.2049, allocations: 1.445 MB / 0.9471 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.2079, allocations: 1.277 MB / 0.9484 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005086/0.213, allocations: 6.402 MB / 0.9546 GB, free: 8.207 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.2152, allocations: 1.737 MB / 0.9563 GB, free: 6.441 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.2179, allocations: 1.603 MB / 0.9579 GB, free: 4.832 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.2197, allocations: 1.365 MB / 0.9592 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.2199, allocations: 72 kB / 0.9593 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.222, allocations: 1.096 MB / 0.9604 GB, free: 2.293 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/0.2224, allocations: 394.2 kB / 0.9608 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008947/0.2233, allocations: 0.9534 MB / 0.9617 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.2263, allocations: 2.834 MB / 0.9645 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2263, allocations: 0 / 0.9645 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2264, allocations: 0 / 0.9645 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.02e-05/0.2264, allocations: 0 / 0.9645 GB, free: 14.1 MB / 0.6198 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.003326/0.2297, allocations: 2.073 MB / 0.9665 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2298, allocations: 12.03 kB / 0.9665 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.23, allocations: 144 kB / 0.9666 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.231, allocations: 310.2 kB / 0.9669 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.2337, allocations: 1.648 MB / 0.9685 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-05/0.2338, allocations: 78 kB / 0.9686 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.234, allocations: 107.9 kB / 0.9687 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.2361, allocations: 1.333 MB / 0.97 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.2362, allocations: 8 kB / 0.97 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.672e-05/0.2363, allocations: 40 kB / 0.9701 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.2363, allocations: 27.94 kB / 0.9701 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.2384, allocations: 1.058 MB / 0.9711 GB, free: 7.066 MB / 0.6198 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.007858/0.2463, allocations: 6.98 MB / 0.9779 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.2478, allocations: 0.6916 MB / 0.9786 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008037/0.2486, allocations: 427 kB / 0.979 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002867/0.2515, allocations: 1.823 MB / 0.9808 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000825/0.2523, allocations: 417.2 kB / 0.9812 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000598/0.2529, allocations: 111.3 kB / 0.9813 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 3.055e-06/0.253, allocations: 0 / 0.9813 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.004192/0.2572, allocations: 1.55 MB / 0.9828 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.2572, allocations: 63.39 kB / 0.9829 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.2596, allocations: 1.858 MB / 0.9847 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.247e-05/0.2596, allocations: 41.7 kB / 0.9847 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006734/0.2603, allocations: 0.8577 MB / 0.9856 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.2605, allocations: 153.8 kB / 0.9857 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.2605, allocations: 19.94 kB / 0.9857 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2607, allocations: 341.9 kB / 0.9861 GB, free: 7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/0.2614, allocations: 353.8 kB / 0.9864 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.2624, allocations: 0.8112 MB / 0.9872 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.2641, allocations: 1.07 MB / 0.9882 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2641, allocations: 4 kB / 0.9882 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002845/0.267, allocations: 1.433 MB / 0.9896 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002273/0.2672, allocations: 419.6 kB / 0.99 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.2673, allocations: 12 kB / 0.99 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008638/0.2681, allocations: 244.5 kB / 0.9903 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.2688, allocations: 187.6 kB / 0.9905 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000864/0.2697, allocations: 0.8294 MB / 0.9913 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.2712, allocations: 124.5 kB / 0.9914 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.2714, allocations: 43.98 kB / 0.9914 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2714, allocations: 4 kB / 0.9914 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002057/0.2734, allocations: 1.039 MB / 0.9924 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.19e-05/0.2735, allocations: 16 kB / 0.9925 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.2739, allocations: 160.7 kB / 0.9926 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005941/0.2745, allocations: 163.7 kB / 0.9928 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.2772, allocations: 2.357 MB / 0.9951 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.2784, allocations: 112.5 kB / 0.9952 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.2785, allocations: 40 kB / 0.9952 GB, free: 12.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0008607/0.2794, allocations: 0.5825 MB / 0.9958 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.2797, allocations: 177.8 kB / 0.996 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.2819, allocations: 1.07 MB / 0.997 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.282, allocations: 11.98 kB / 0.997 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.282, allocations: 0 / 0.997 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001639/0.2836, allocations: 1.023 MB / 0.998 GB, free: 9.949 MB / 0.6511 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 postOpt removeSimpleEquations (simulation): time 0.004072/0.2877, allocations: 2.335 MB / 1 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2877, allocations: 0 / 1 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/0.2882, allocations: 99.92 kB / 1 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000327/0.2886, allocations: 148.7 kB / 1.001 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.2886, allocations: 15.98 kB / 1.001 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006312/0.2893, allocations: 0.8098 MB / 1.001 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2893, allocations: 4.031 kB / 1.001 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.292, allocations: 1.491 MB / 1.003 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/0.2926, allocations: 346.7 kB / 1.003 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.2928, allocations: 8 kB / 1.003 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.2939, allocations: 103.8 kB / 1.003 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.294, allocations: 48.25 kB / 1.003 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.294, allocations: 23.98 kB / 1.003 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001807/0.2959, allocations: 1.285 MB / 1.005 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2959, allocations: 0 / 1.005 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002659/0.2985, allocations: 0.8423 MB / 1.005 GB, free: 2.215 MB / 0.6511 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003922/0.3025, allocations: 2.254 MB / 1.008 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003336/0.3058, allocations: 1.559 MB / 1.009 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3058, allocations: 0 / 1.009 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008204/0.3067, allocations: 375.2 kB / 1.009 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004275/0.311, allocations: 0.8357 MB / 1.01 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02584/0.3368, allocations: 14.91 MB / 1.025 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.3381, allocations: 1.491 MB / 1.026 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001721/0.3398, allocations: 434 kB / 1.027 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009215/0.3407, allocations: 0.6594 MB / 1.027 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/0.3407, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4157/0.7564, allocations: 46.77 MB / 1.073 GB, free: 132.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/0.7566, allocations: 284.4 kB / 1.073 GB, free: 131.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.34/4.097, allocations: 0 / 1.073 GB, free: 131.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)