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.635/2.635, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001607/0.001606, allocations: 182.6 kB / 370.8 MB, free: 10.87 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.113/2.113, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.00109/0.001089, allocations: 92.11 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005055/0.0005055, allocations: 11.52 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2262, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03274/0.259, allocations: 24.92 MB / 1.003 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0252/0.2842, allocations: 11.12 MB / 1.013 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.2861, allocations: 31.75 kB / 1.013 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.2891, allocations: 0.5677 MB / 1.014 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0058/0.2949, allocations: 1.337 MB / 1.015 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.009823/0.3048, allocations: 2.271 MB / 1.018 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005444/0.3102, allocations: 2.192 MB / 1.02 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.3125, allocations: 1.004 MB / 1.021 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.3155, allocations: 1 MB / 1.022 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.3172, allocations: 0.7078 MB / 1.022 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.3175, allocations: 52 kB / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.3201, allocations: 0.7334 MB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005184/0.3207, allocations: 298.9 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005515/0.3213, allocations: 312.9 kB / 1.024 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.3246, allocations: 1.734 MB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3247, allocations: 0 / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3247, allocations: 3.938 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.3247, allocations: 4 kB / 1.025 GB, free: 11.93 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.004694/0.3294, allocations: 1.682 MB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.3295, allocations: 12.03 kB / 1.027 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002763/0.3298, allocations: 122.6 kB / 1.027 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.3316, allocations: 257.8 kB / 1.027 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004203/0.3359, allocations: 1.258 MB / 1.029 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.336, allocations: 65.98 kB / 1.029 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.3363, allocations: 91.95 kB / 1.029 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.3396, allocations: 1.008 MB / 1.03 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.979e-05/0.3397, allocations: 0 / 1.03 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.3398, allocations: 32 kB / 1.03 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.3399, allocations: 20 kB / 1.03 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.3431, allocations: 0.7766 MB / 1.031 GB, free: 6.438 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.01108/0.3542, allocations: 5.011 MB / 1.035 GB, free: 1.102 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.357, allocations: 0.6304 MB / 1.036 GB, free: 476 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005063/0.3621, allocations: 1.878 MB / 1.038 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/0.3636, allocations: 371 kB / 1.038 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008666/0.3645, allocations: 99.38 kB / 1.038 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 4.027e-06/0.3645, allocations: 3.938 kB / 1.038 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.0073/0.3718, allocations: 1.356 MB / 1.04 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.3719, allocations: 59.34 kB / 1.04 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003237/0.3752, allocations: 1.328 MB / 1.041 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002273/0.3755, allocations: 37.7 kB / 1.041 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009016/0.3764, allocations: 0.6411 MB / 1.042 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.3767, allocations: 153.8 kB / 1.042 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.3768, allocations: 16 kB / 1.042 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.377, allocations: 334 kB / 1.042 GB, free: 9.969 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.3782, allocations: 265.7 kB / 1.042 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.3798, allocations: 0.6091 MB / 1.043 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.3812, allocations: 378.2 kB / 1.043 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.3812, allocations: 4 kB / 1.043 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004744/0.3859, allocations: 1.126 MB / 1.045 GB, free: 7.418 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001557/0.3876, allocations: 3.127 MB / 1.048 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.3876, allocations: 8 kB / 1.048 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.3892, allocations: 224.6 kB / 1.048 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.3904, allocations: 151.7 kB / 1.048 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.3921, allocations: 0.8682 MB / 1.049 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.3941, allocations: 100.6 kB / 1.049 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.3942, allocations: 43.98 kB / 1.049 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3943, allocations: 4 kB / 1.049 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002864/0.3971, allocations: 0.8557 MB / 1.05 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/0.3972, allocations: 8 kB / 1.05 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006789/0.3979, allocations: 145.2 kB / 1.05 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009355/0.3988, allocations: 143.7 kB / 1.05 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004314/0.4032, allocations: 2.38 MB / 1.052 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.405, allocations: 84.58 kB / 1.052 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.4052, allocations: 36 kB / 1.052 GB, free: 14.86 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.001157/0.4063, allocations: 472.8 kB / 1.053 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.4068, allocations: 130.3 kB / 1.053 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.4107, allocations: 0.9509 MB / 1.054 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.4108, allocations: 8 kB / 1.054 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4108, allocations: 0 / 1.054 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003096/0.4139, allocations: 0.9389 MB / 1.055 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006182/0.4202, allocations: 1.955 MB / 1.057 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4202, allocations: 0 / 1.057 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008477/0.4211, allocations: 87.88 kB / 1.057 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006109/0.4217, allocations: 152.7 kB / 1.057 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.4218, allocations: 19.94 kB / 1.057 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.423, allocations: 0.8175 MB / 1.058 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4231, allocations: 4 kB / 1.058 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00478/0.4279, allocations: 1.311 MB / 1.059 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009758/0.4289, allocations: 287.3 kB / 1.059 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.4292, allocations: 8 kB / 1.059 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.4307, allocations: 79.89 kB / 1.06 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.4309, allocations: 52.27 kB / 1.06 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-05/0.431, allocations: 19.98 kB / 1.06 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002132/0.4331, allocations: 0.9205 MB / 1.06 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.41e-07/0.4332, allocations: 0 / 1.06 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003111/0.4363, allocations: 0.6746 MB / 1.061 GB, free: 5.727 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.005977/0.4423, allocations: 2.209 MB / 1.063 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005534/0.4479, allocations: 1.405 MB / 1.065 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.448, allocations: 3.938 kB / 1.065 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.4496, allocations: 347 kB / 1.065 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004807/0.4544, allocations: 0.5685 MB / 1.066 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6279/1.082, allocations: 8.943 MB / 1.074 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/1.084, allocations: 1.306 MB / 1.076 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002193/1.086, allocations: 305.6 kB / 1.076 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/1.087, allocations: 0.493 MB / 1.076 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of SimCode: time 1.402e-06/1.087, allocations: 1.375 kB / 1.076 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/1.208, allocations: 37.17 MB / 1.113 GB, free: 67.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/1.208, allocations: 253.2 kB / 1.113 GB, free: 67.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.176/5.384, allocations: 0 / 1.113 GB, free: 67.46 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)