Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.598/2.598, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001336/0.001335, allocations: 185.9 kB / 371 MB, free: 10.86 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/2, allocations: 205.4 MB / 0.6297 GB, free: 10.5 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.0009714/0.0009713, allocations: 87.47 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.0005072, allocations: 10.88 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2145, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03716/0.2517, allocations: 30.17 MB / 1.008 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02667/0.2784, allocations: 12.25 MB / 1.02 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.2802, allocations: 35.75 kB / 1.02 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002388/0.2826, allocations: 497 kB / 1.02 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005356/0.288, allocations: 1.281 MB / 1.022 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004671/0.2927, allocations: 1.065 MB / 1.023 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009525/0.3022, allocations: 5.487 MB / 1.028 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003527/0.3058, allocations: 1.607 MB / 1.03 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004556/0.3104, allocations: 1.548 MB / 1.031 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003257/0.3137, allocations: 1.291 MB / 1.032 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004391/0.3142, allocations: 68 kB / 1.032 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.3177, allocations: 0.8893 MB / 1.033 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007648/0.3185, allocations: 382.3 kB / 1.034 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008952/0.3194, allocations: 400.7 kB / 1.034 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.3241, allocations: 2.17 MB / 1.036 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3241, allocations: 0 / 1.036 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3241, allocations: 0 / 1.036 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.73e-05/0.3242, allocations: 4 kB / 1.036 GB, free: 0.9727 MB / 0.6511 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.005841/0.33, allocations: 2.092 MB / 1.038 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3301, allocations: 12.03 kB / 1.038 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003874/0.3305, allocations: 147.8 kB / 1.038 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.3325, allocations: 309.3 kB / 1.039 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004804/0.3373, allocations: 1.571 MB / 1.04 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.3375, allocations: 78 kB / 1.04 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/0.3378, allocations: 108 kB / 1.04 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/0.3414, allocations: 1.334 MB / 1.042 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/0.3415, allocations: 4 kB / 1.042 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.3417, allocations: 40 kB / 1.042 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/0.3417, allocations: 24 kB / 1.042 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/0.3454, allocations: 1.058 MB / 1.043 GB, free: 10.01 MB / 0.6667 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.0128/0.3582, allocations: 6.985 MB / 1.05 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.3609, allocations: 0.6863 MB / 1.05 GB, free: 1.844 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.3623, allocations: 431.3 kB / 1.051 GB, free: 1.418 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004704/0.367, allocations: 1.823 MB / 1.052 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.3685, allocations: 420.8 kB / 1.053 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008942/0.3694, allocations: 99.38 kB / 1.053 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 3.386e-06/0.3694, allocations: 4 kB / 1.053 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.00747/0.3769, allocations: 1.527 MB / 1.054 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.377, allocations: 63.39 kB / 1.055 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/0.3808, allocations: 1.839 MB / 1.056 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.381, allocations: 41.7 kB / 1.056 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.3821, allocations: 0.8541 MB / 1.057 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.3824, allocations: 165.7 kB / 1.057 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.3825, allocations: 16 kB / 1.057 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3827, allocations: 337.9 kB / 1.058 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.3839, allocations: 321.8 kB / 1.058 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.3856, allocations: 0.78 MB / 1.059 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.3871, allocations: 446.3 kB / 1.059 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.3871, allocations: 4 kB / 1.059 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004992/0.3921, allocations: 1.355 MB / 1.06 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003782/0.3925, allocations: 423.5 kB / 1.061 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.3926, allocations: 15.94 kB / 1.061 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.394, allocations: 229.9 kB / 1.061 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.3953, allocations: 179.7 kB / 1.061 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.3966, allocations: 0.8419 MB / 1.062 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/0.399, allocations: 120.4 kB / 1.062 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.3992, allocations: 51.98 kB / 1.062 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3992, allocations: 4 kB / 1.062 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003139/0.4023, allocations: 1.028 MB / 1.063 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.4024, allocations: 12 kB / 1.063 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006924/0.4031, allocations: 152.7 kB / 1.063 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.4042, allocations: 167.9 kB / 1.064 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/0.4084, allocations: 2.352 MB / 1.066 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.4107, allocations: 120.5 kB / 1.066 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.4109, allocations: 44 kB / 1.066 GB, free: 0.8242 MB / 0.6823 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 (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.001339/0.4123, allocations: 0.5844 MB / 1.067 GB, free: 236 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004703/0.4127, allocations: 177.8 kB / 1.067 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6164/1.029, allocations: 1.063 MB / 1.068 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/1.029, allocations: 5.609 kB / 1.068 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/1.029, allocations: 0 / 1.068 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002953/1.032, allocations: 1.023 MB / 1.069 GB, free: 87.12 MB / 0.6823 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.006784/1.039, allocations: 2.319 MB / 1.071 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/1.039, allocations: 0.8438 kB / 1.071 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008998/1.04, allocations: 97.19 kB / 1.071 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006076/1.041, allocations: 149.5 kB / 1.071 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/1.041, allocations: 20.12 kB / 1.071 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/1.042, allocations: 0.8017 MB / 1.072 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.042, allocations: 1.625 kB / 1.072 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/1.047, allocations: 1.483 MB / 1.074 GB, free: 84.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.048, allocations: 347.2 kB / 1.074 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/1.048, allocations: 11.97 kB / 1.074 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/1.05, allocations: 95.27 kB / 1.074 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1.05, allocations: 44 kB / 1.074 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/1.05, allocations: 27.31 kB / 1.074 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003093/1.053, allocations: 1.275 MB / 1.075 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/1.053, allocations: 1.656 kB / 1.075 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003875/1.057, allocations: 0.842 MB / 1.076 GB, free: 84.25 MB / 0.6823 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 (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.005984/1.063, allocations: 2.237 MB / 1.078 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005022/1.068, allocations: 1.531 MB / 1.08 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.068, allocations: 1.312 kB / 1.08 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/1.07, allocations: 364.5 kB / 1.08 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007327/1.077, allocations: 0.8463 MB / 1.081 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03291/1.11, allocations: 11.32 MB / 1.092 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/1.111, allocations: 1.491 MB / 1.094 GB, free: 75.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002821/1.114, allocations: 433 kB / 1.094 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.116, allocations: 0.6523 MB / 1.095 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of SimCode: time 1.272e-06/1.116, allocations: 0 / 1.095 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1251/1.241, allocations: 48.62 MB / 1.142 GB, free: 40.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/1.241, allocations: 256.4 kB / 1.142 GB, free: 39.83 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.485/5.726, allocations: 0 / 1.142 GB, free: 39.83 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)