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 1.613/1.613, allocations: 287.4 MB / 302.6 MB, free: 8.324 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.0009878/0.0009878, allocations: 181.3 kB / 371.1 MB, free: 10.84 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.364/1.364, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0008275/0.0008274, allocations: 92.47 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 11.12 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2137, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02045/0.2342, allocations: 27.26 MB / 1.005 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.2513, allocations: 11.74 MB / 1.017 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.2529, allocations: 35.75 kB / 1.017 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.2547, allocations: 465.2 kB / 1.017 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.2583, allocations: 1.188 MB / 1.018 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0032/0.2616, allocations: 1.048 MB / 1.019 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005909/0.2675, allocations: 4.314 MB / 1.024 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.2692, allocations: 1.106 MB / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.2715, allocations: 1.202 MB / 1.026 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.2726, allocations: 0.9879 MB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.2728, allocations: 52 kB / 1.027 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.2746, allocations: 0.8658 MB / 1.028 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.275, allocations: 322.7 kB / 1.028 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.2754, allocations: 313 kB / 1.028 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.2773, allocations: 1.789 MB / 1.03 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2773, allocations: 0 / 1.03 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2773, allocations: 0 / 1.03 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.578e-05/0.2774, allocations: 4 kB / 1.03 GB, free: 7.266 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002913/0.2803, allocations: 1.705 MB / 1.032 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.2803, allocations: 8.031 kB / 1.032 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/0.2805, allocations: 122.8 kB / 1.032 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009522/0.2815, allocations: 266.8 kB / 1.032 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.2837, allocations: 1.323 MB / 1.033 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.2837, allocations: 66 kB / 1.034 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2839, allocations: 80 kB / 1.034 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.2857, allocations: 1.023 MB / 1.035 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.2857, allocations: 4 kB / 1.035 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.2858, allocations: 32 kB / 1.035 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2858, allocations: 16 kB / 1.035 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.2873, allocations: 0.7923 MB / 1.035 GB, free: 1.668 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 preOpt removeSimpleEquations (simulation): time 0.005774/0.2931, allocations: 5.132 MB / 1.04 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.2945, allocations: 0.6503 MB / 1.041 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/0.2952, allocations: 360.1 kB / 1.041 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/0.2975, allocations: 1.689 MB / 1.043 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007488/0.2983, allocations: 383 kB / 1.043 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000364/0.2986, allocations: 99.47 kB / 1.044 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.2987, allocations: 0 / 1.044 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.00358/0.3022, allocations: 1.383 MB / 1.045 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3023, allocations: 55.41 kB / 1.045 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.3039, allocations: 1.313 MB / 1.046 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.304, allocations: 45.67 kB / 1.046 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/0.3045, allocations: 0.6295 MB / 1.047 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.3046, allocations: 157.8 kB / 1.047 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.3047, allocations: 20 kB / 1.047 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3048, allocations: 337.9 kB / 1.047 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006079/0.3054, allocations: 265.8 kB / 1.048 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008336/0.3062, allocations: 0.6271 MB / 1.048 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.3076, allocations: 0.826 MB / 1.049 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3076, allocations: 4 kB / 1.049 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00235/0.31, allocations: 1.152 MB / 1.05 GB, free: 1.68 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.3102, allocations: 347.5 kB / 1.051 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.3102, allocations: 11.94 kB / 1.051 GB, free: 1.215 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008136/0.311, allocations: 232.6 kB / 1.051 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.3116, allocations: 147.8 kB / 1.051 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008596/0.3125, allocations: 0.8683 MB / 1.052 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.3138, allocations: 88.55 kB / 1.052 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.3139, allocations: 43.98 kB / 1.052 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.314, allocations: 4 kB / 1.052 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002411/0.3164, allocations: 0.8712 MB / 1.053 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.3164, allocations: 11.94 kB / 1.053 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/0.317, allocations: 141.2 kB / 1.053 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.3177, allocations: 135.8 kB / 1.053 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.3215, allocations: 2.357 MB / 1.055 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.3228, allocations: 76.66 kB / 1.055 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.3228, allocations: 35.98 kB / 1.055 GB, free: 12.03 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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.0008273/0.3237, allocations: 476.7 kB / 1.056 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.3239, allocations: 126.4 kB / 1.056 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.3258, allocations: 0.9543 MB / 1.057 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.3258, allocations: 4 kB / 1.057 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.3258, allocations: 0 / 1.057 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/0.3273, allocations: 0.9466 MB / 1.058 GB, free: 9.441 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.003163/0.3304, allocations: 1.994 MB / 1.06 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3304, allocations: 0 / 1.06 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.3309, allocations: 87.88 kB / 1.06 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/0.3312, allocations: 156.7 kB / 1.06 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.3312, allocations: 15.98 kB / 1.06 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000644/0.3319, allocations: 0.8098 MB / 1.061 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3319, allocations: 7.938 kB / 1.061 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.3341, allocations: 1.299 MB / 1.062 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/0.3345, allocations: 287.3 kB / 1.062 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.3347, allocations: 8 kB / 1.062 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/0.3353, allocations: 83.83 kB / 1.062 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.3354, allocations: 36.38 kB / 1.063 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.3355, allocations: 27.98 kB / 1.063 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001054/0.3366, allocations: 0.9049 MB / 1.063 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3366, allocations: 0 / 1.063 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001729/0.3383, allocations: 0.6784 MB / 1.064 GB, free: 2.895 MB / 0.6823 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 (39): * Single equations (assignments): 33 * 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.003048/0.3413, allocations: 2.048 MB / 1.066 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.3636/0.705, allocations: 1.418 MB / 1.067 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.705, allocations: 0.9062 kB / 1.067 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009402/0.706, allocations: 355.4 kB / 1.068 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/0.7089, allocations: 0.5764 MB / 1.068 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/0.726, allocations: 8.298 MB / 1.076 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.7272, allocations: 1.269 MB / 1.078 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001829/0.7291, allocations: 302.6 kB / 1.078 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/0.7298, allocations: 0.4891 MB / 1.078 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/0.7298, allocations: 3.844 kB / 1.078 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7165/1.446, allocations: 37.61 MB / 1.115 GB, free: 68.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/1.447, allocations: 248.9 kB / 1.115 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.58/5.026, allocations: 0 / 1.115 GB, free: 68.34 MB / 0.6823 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)