Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.765/1.765, allocations: 288.4 MB / 303.3 MB, free: 8.066 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.001096/0.001096, allocations: 186.1 kB / 372 MB, free: 10.25 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.466/1.466, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0008029/0.0008026, allocations: 82.42 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 15.03 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1786, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02085/0.1995, allocations: 27.26 MB / 1.006 GB, free: 240 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.2154, allocations: 11.74 MB / 1.018 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.2165, allocations: 35.75 kB / 1.018 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.2178, allocations: 469.2 kB / 1.018 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.2206, allocations: 1.196 MB / 1.019 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.2232, allocations: 1.046 MB / 1.02 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004087/0.2273, allocations: 4.271 MB / 1.025 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.2286, allocations: 0.996 MB / 1.026 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.2303, allocations: 1.198 MB / 1.027 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.2314, allocations: 0.9956 MB / 1.028 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.2316, allocations: 52 kB / 1.028 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.2333, allocations: 0.862 MB / 1.029 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.2336, allocations: 322.6 kB / 1.029 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.2339, allocations: 320.9 kB / 1.029 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.2357, allocations: 1.792 MB / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2357, allocations: 0 / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2358, allocations: 0 / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.2358, allocations: 0 / 1.031 GB, free: 6.891 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.002735/0.2385, allocations: 1.713 MB / 1.033 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2386, allocations: 20.02 kB / 1.033 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.2387, allocations: 118.6 kB / 1.033 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.2397, allocations: 257.8 kB / 1.033 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.2418, allocations: 1.269 MB / 1.034 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/0.2419, allocations: 66 kB / 1.034 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.242, allocations: 84 kB / 1.034 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.2438, allocations: 1.023 MB / 1.035 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.2439, allocations: 4 kB / 1.035 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.2439, allocations: 32 kB / 1.035 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.244, allocations: 16 kB / 1.035 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.2456, allocations: 0.7922 MB / 1.036 GB, free: 1.328 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.005607/0.2512, allocations: 5.136 MB / 1.041 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.2527, allocations: 0.6501 MB / 1.042 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007265/0.2534, allocations: 358.7 kB / 1.042 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002183/0.2556, allocations: 1.681 MB / 1.044 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008041/0.2564, allocations: 375 kB / 1.044 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003646/0.2568, allocations: 99.47 kB / 1.044 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 1.754e-06/0.2568, allocations: 0 / 1.044 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.003839/0.2606, allocations: 1.391 MB / 1.046 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.2607, allocations: 59.34 kB / 1.046 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.2623, allocations: 1.313 MB / 1.047 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/0.2624, allocations: 41.7 kB / 1.047 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005068/0.2629, allocations: 0.6411 MB / 1.048 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.263, allocations: 149.8 kB / 1.048 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.2631, allocations: 12 kB / 1.048 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2632, allocations: 334 kB / 1.048 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.2639, allocations: 273.8 kB / 1.048 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008714/0.2647, allocations: 0.6169 MB / 1.049 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/0.2655, allocations: 382.1 kB / 1.049 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2655, allocations: 4 kB / 1.049 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002469/0.268, allocations: 1.145 MB / 1.05 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002741/0.2683, allocations: 347.2 kB / 1.051 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.2683, allocations: 11.94 kB / 1.051 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00086/0.2692, allocations: 224.6 kB / 1.051 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/0.2698, allocations: 155.7 kB / 1.051 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009637/0.2707, allocations: 0.8661 MB / 1.052 GB, free: 196 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000923/0.2717, allocations: 96.48 kB / 1.052 GB, free: 100 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/0.2718, allocations: 35.98 kB / 1.052 GB, free: 64 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.2718, allocations: 4 kB / 1.052 GB, free: 60 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001599/0.2734, allocations: 0.8755 MB / 1.053 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2734, allocations: 8 kB / 1.053 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003417/0.2738, allocations: 144.7 kB / 1.053 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.2742, allocations: 136.1 kB / 1.053 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.2767, allocations: 2.341 MB / 1.056 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/0.2775, allocations: 84.5 kB / 1.056 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.2775, allocations: 43.92 kB / 1.056 GB, free: 12.27 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.0005999/0.2781, allocations: 472.9 kB / 1.056 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.2783, allocations: 130.4 kB / 1.056 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.2803, allocations: 0.9507 MB / 1.057 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.2803, allocations: 8 kB / 1.057 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2803, allocations: 3.984 kB / 1.057 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/0.2819, allocations: 0.9468 MB / 1.058 GB, free: 9.676 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.003217/0.2851, allocations: 1.986 MB / 1.06 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2851, allocations: 4.062 kB / 1.06 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/0.2856, allocations: 87.88 kB / 1.06 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003048/0.2859, allocations: 144.7 kB / 1.06 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.2859, allocations: 11.98 kB / 1.06 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006777/0.2866, allocations: 0.833 MB / 1.061 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2866, allocations: 0 / 1.061 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.2891, allocations: 1.295 MB / 1.062 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/0.2895, allocations: 287.3 kB / 1.063 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.2896, allocations: 12 kB / 1.063 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007143/0.2903, allocations: 83.92 kB / 1.063 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.2904, allocations: 36.38 kB / 1.063 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.2905, allocations: 19.98 kB / 1.063 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001112/0.2916, allocations: 0.9088 MB / 1.064 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2916, allocations: 0 / 1.064 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001635/0.2932, allocations: 0.6823 MB / 1.064 GB, free: 3.133 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.003163/0.2964, allocations: 2.031 MB / 1.066 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.333/0.6294, allocations: 1.42 MB / 1.068 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.6295, allocations: 0.5938 kB / 1.068 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.6306, allocations: 359.2 kB / 1.068 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/0.6338, allocations: 0.591 MB / 1.069 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.6506, allocations: 8.31 MB / 1.077 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.6517, allocations: 1.269 MB / 1.078 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001616/0.6533, allocations: 304.6 kB / 1.078 GB, free: 83.53 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00063/0.6539, allocations: 0.4895 MB / 1.079 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/0.654, allocations: 3.281 kB / 1.079 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0713/0.7253, allocations: 37.63 MB / 1.116 GB, free: 68.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.7254, allocations: 253.1 kB / 1.116 GB, free: 67.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/3.803, allocations: 0 / 1.116 GB, free: 67.69 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)