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.38/1.38, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001116/0.001116, allocations: 192.9 kB / 326.5 MB, free: 2.25 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.422/1.422, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008165/0.0008166, allocations: 98.2 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.000287, allocations: 13.2 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.149, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.01863/0.1676, allocations: 27.51 MB / 0.927 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.1797, allocations: 11.61 MB / 0.9383 GB, free: 24.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.1807, allocations: 35.75 kB / 0.9384 GB, free: 24.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.1821, allocations: 0.6104 MB / 0.939 GB, free: 24.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.1848, allocations: 1.455 MB / 0.9404 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004688/0.1895, allocations: 2.283 MB / 0.9426 GB, free: 20.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002816/0.1923, allocations: 2.828 MB / 0.9454 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.1937, allocations: 1.6 MB / 0.9469 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.1952, allocations: 1.323 MB / 0.9482 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007306/0.1959, allocations: 0.9216 MB / 0.9491 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.196, allocations: 68 kB / 0.9492 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.1973, allocations: 0.7685 MB / 0.95 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.1975, allocations: 354.6 kB / 0.9503 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.1978, allocations: 404.6 kB / 0.9507 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.1991, allocations: 2.096 MB / 0.9527 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.1992, allocations: 4 kB / 0.9527 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1992, allocations: 0 / 0.9527 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.1992, allocations: 0 / 0.9527 GB, free: 9.895 MB / 0.6042 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.002686/0.2019, allocations: 2.077 MB / 0.9548 GB, free: 7.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2019, allocations: 8.031 kB / 0.9548 GB, free: 7.742 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.2021, allocations: 151.8 kB / 0.9549 GB, free: 7.586 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000953/0.203, allocations: 313.2 kB / 0.9552 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.2053, allocations: 1.56 MB / 0.9567 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.2053, allocations: 78 kB / 0.9568 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.2055, allocations: 108 kB / 0.9569 GB, free: 5.488 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.2071, allocations: 1.318 MB / 0.9582 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.2072, allocations: 3.938 kB / 0.9582 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.84e-05/0.2073, allocations: 43.98 kB / 0.9582 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.2073, allocations: 27.94 kB / 0.9583 GB, free: 4.023 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.209, allocations: 1.042 MB / 0.9593 GB, free: 2.977 MB / 0.6042 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.006378/0.2154, allocations: 6.919 MB / 0.966 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.2168, allocations: 0.6606 MB / 0.9667 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002557/0.2194, allocations: 1.873 MB / 0.9685 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008177/0.2202, allocations: 400.8 kB / 0.9689 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000397/0.2207, allocations: 107.3 kB / 0.969 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 3.607e-06/0.2207, allocations: 0 / 0.969 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.003842/0.2245, allocations: 1.508 MB / 0.9705 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.2246, allocations: 55.41 kB / 0.9705 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.2265, allocations: 1.862 MB / 0.9723 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.2266, allocations: 41.7 kB / 0.9724 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006496/0.2273, allocations: 0.8503 MB / 0.9732 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.2274, allocations: 169.7 kB / 0.9734 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.2275, allocations: 16 kB / 0.9734 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.2276, allocations: 334 kB / 0.9737 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.2283, allocations: 313.8 kB / 0.974 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009519/0.2292, allocations: 0.7722 MB / 0.9748 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007924/0.23, allocations: 450.3 kB / 0.9752 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2301, allocations: 0 / 0.9752 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002561/0.2326, allocations: 1.332 MB / 0.9765 GB, free: 356 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001227/0.2339, allocations: 4.23 MB / 0.9806 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.2339, allocations: 12 kB / 0.9806 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007936/0.2347, allocations: 224.2 kB / 0.9809 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.2353, allocations: 179.7 kB / 0.981 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006805/0.236, allocations: 0.8372 MB / 0.9818 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.2371, allocations: 124.4 kB / 0.982 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/0.2372, allocations: 51.98 kB / 0.982 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.2372, allocations: 4 kB / 0.982 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001728/0.239, allocations: 1.016 MB / 0.983 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.239, allocations: 8 kB / 0.983 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/0.2393, allocations: 157.1 kB / 0.9832 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.2399, allocations: 167.7 kB / 0.9833 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.2423, allocations: 2.387 MB / 0.9857 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009729/0.2433, allocations: 120.4 kB / 0.9858 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-05/0.2434, allocations: 47.98 kB / 0.9858 GB, free: 6.309 MB / 0.6355 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.0007236/0.2441, allocations: 0.5825 MB / 0.9864 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.2443, allocations: 169.8 kB / 0.9865 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.2464, allocations: 1.066 MB / 0.9876 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.2464, allocations: 7.984 kB / 0.9876 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.2464, allocations: 0 / 0.9876 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001685/0.2481, allocations: 1.011 MB / 0.9886 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/0.2519, allocations: 2.308 MB / 0.9908 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2519, allocations: 3.938 kB / 0.9908 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.2524, allocations: 95.98 kB / 0.9909 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003162/0.2527, allocations: 148.7 kB / 0.9911 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.2528, allocations: 15.98 kB / 0.9911 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006081/0.2534, allocations: 0.8073 MB / 0.9919 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2534, allocations: 8.047 kB / 0.9919 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.2559, allocations: 1.489 MB / 0.9933 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006122/0.2566, allocations: 350.7 kB / 0.9937 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.2568, allocations: 12 kB / 0.9937 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/0.2577, allocations: 95.89 kB / 0.9938 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.2578, allocations: 40.33 kB / 0.9938 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.2579, allocations: 23.98 kB / 0.9938 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001558/0.2594, allocations: 1.293 MB / 0.9951 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2594, allocations: 0 / 0.9951 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002105/0.2615, allocations: 0.8463 MB / 0.9959 GB, free: 11.64 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 (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.00339/0.2649, allocations: 2.392 MB / 0.9983 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002725/0.2677, allocations: 1.509 MB / 0.9997 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2677, allocations: 0 / 0.9997 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007858/0.2685, allocations: 366.4 kB / 1 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/0.2719, allocations: 0.8355 MB / 1.001 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007633/0.2795, allocations: 11.96 MB / 1.013 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009509/0.2805, allocations: 1.53 MB / 1.014 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001463/0.282, allocations: 442 kB / 1.014 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000794/0.2828, allocations: 0.6594 MB / 1.015 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of SimCode: time 6.41e-07/0.2828, allocations: 0 / 1.015 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.354/0.6367, allocations: 47.89 MB / 1.062 GB, free: 144.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.6369, allocations: 251.2 kB / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.207/3.844, allocations: 0.8438 kB / 1.062 GB, free: 144.2 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)