Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5",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.496/1.496, allocations: 252 MB / 267.3 MB, free: 10.87 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.001081/0.001081, allocations: 176.7 kB / 327 MB, free: 2.121 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.675/1.675, allocations: 205.4 MB / 0.578 GB, free: 20.46 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.0008656/0.0008657, allocations: 84.03 kB / 0.6826 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 11.44 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2253, allocations: 106.3 MB / 0.9009 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0008763/0.2262, allocations: 273.2 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002386/0.2265, allocations: 45.12 kB / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.2266, allocations: 0 / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.2266, allocations: 4 kB / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.2268, allocations: 0 / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.634e-05/0.2269, allocations: 8 kB / 0.9012 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.424e-05/0.227, allocations: 15.92 kB / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.2271, allocations: 0 / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.2271, allocations: 7.984 kB / 0.9012 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.2272, allocations: 7.938 kB / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.2273, allocations: 0 / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.2273, allocations: 0 / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.2274, allocations: 7.984 kB / 0.9013 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.2274, allocations: 33.7 kB / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.927e-05/0.2275, allocations: 11.92 kB / 0.9013 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2275, allocations: 0 / 0.9013 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2275, allocations: 0 / 0.9013 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2275, allocations: 0 / 0.9013 GB, free: 63.37 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000428/0.228, allocations: 319.6 kB / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.228, allocations: 8.031 kB / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.2281, allocations: 30.75 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.2281, allocations: 4.938 kB / 0.9017 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.2283, allocations: 180.3 kB / 0.9018 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.2283, allocations: 4.375 kB / 0.9018 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.2284, allocations: 384 / 0.9018 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.686e-05/0.2285, allocations: 34.2 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.2285, allocations: 3.938 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.2285, allocations: 0 / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2285, allocations: 0 / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.2286, allocations: 11.97 kB / 0.9019 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.2287, allocations: 157.6 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.2288, allocations: 22.58 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.2289, allocations: 8.922 kB / 0.9021 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.2289, allocations: 7.875 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.2289, allocations: 30.56 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.2289, allocations: 0 / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001681/0.2291, allocations: 49.61 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2292, allocations: 55.41 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.2293, allocations: 110 kB / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.2293, allocations: 25.7 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.2293, allocations: 80.14 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.2294, allocations: 11.91 kB / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.2294, allocations: 0 / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.2294, allocations: 310.8 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.2295, allocations: 7.984 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.2295, allocations: 21.66 kB / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.2296, allocations: 25.7 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2296, allocations: 0 / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001052/0.2297, allocations: 45.62 kB / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2297, allocations: 10.75 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2298, allocations: 0 / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2298, allocations: 0 / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.2299, allocations: 8.125 kB / 0.9028 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2299, allocations: 0 / 0.9028 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.2299, allocations: 8 kB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.23, allocations: 0 / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.23, allocations: 110.1 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.2301, allocations: 7.922 kB / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.2302, allocations: 52.69 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.2302, allocations: 4 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2302, allocations: 4.031 kB / 0.903 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2302, allocations: 0 / 0.903 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.739e-05/0.2303, allocations: 153.7 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2303, allocations: 0 / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/0.2304, allocations: 4 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2304, allocations: 3.938 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2305, allocations: 3.984 kB / 0.9032 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2305, allocations: 256 / 0.9032 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2305, allocations: 3.938 kB / 0.9032 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.2307, allocations: 84.97 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.2307, allocations: 81.11 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.2307, allocations: 7.922 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.2308, allocations: 7.969 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.2308, allocations: 0 / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2308, allocations: 0 / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.2309, allocations: 91.27 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2309, allocations: 0 / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003121/0.2312, allocations: 0 / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003421/0.2316, allocations: 0.6165 MB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.252e-05/0.2317, allocations: 15.94 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2317, allocations: 0 / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-05/0.2317, allocations: 12.2 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.2319, allocations: 8.062 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009856/0.2329, allocations: 1.142 MB / 0.9052 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.2331, allocations: 0.677 MB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.2331, allocations: 4 kB / 0.9058 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.2331, allocations: 11.42 kB / 0.9059 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.2332, allocations: 0 / 0.9059 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0567/0.2899, allocations: 1.004 MB / 0.9068 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.2901, allocations: 201.8 kB / 0.907 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.148, allocations: 3.938 kB / 0.907 GB, free: 57.09 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)