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.409/1.409, allocations: 252 MB / 267 MB, free: 10.97 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.0009316/0.0009316, allocations: 178.1 kB / 326.6 MB, free: 2.234 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.586/1.586, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0007987/0.0007987, allocations: 96 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003399, allocations: 9.406 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2302, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0005494/0.2308, allocations: 273.3 kB / 0.9006 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001606/0.231, allocations: 37.16 kB / 0.9006 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.231, allocations: 0 / 0.9006 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.2311, allocations: 0 / 0.9006 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.346e-05/0.2312, allocations: 4 kB / 0.9006 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.073e-05/0.2312, allocations: 7.922 kB / 0.9006 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.2313, allocations: 8 kB / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.2313, allocations: 3.984 kB / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.2314, allocations: 8 kB / 0.9006 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.2314, allocations: 7.938 kB / 0.9006 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.2315, allocations: 0 / 0.9006 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.2315, allocations: 0 / 0.9006 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.2315, allocations: 11.98 kB / 0.9006 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.2315, allocations: 25.7 kB / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.468e-05/0.2316, allocations: 7.984 kB / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2316, allocations: 0 / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2316, allocations: 3.938 kB / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2316, allocations: 0 / 0.9007 GB, free: 63.42 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.0003254/0.2319, allocations: 327.4 kB / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.232, allocations: 8.031 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.232, allocations: 34.56 kB / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.047e-05/0.232, allocations: 0 / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.2322, allocations: 178.9 kB / 0.9012 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.2322, allocations: 0 / 0.9012 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.2322, allocations: 3.984 kB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.674e-05/0.2323, allocations: 33.69 kB / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2323, allocations: 0 / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.2323, allocations: 0 / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2323, allocations: 4 kB / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.2324, allocations: 7.984 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.2325, allocations: 153.7 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.422e-05/0.2325, allocations: 26.5 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.2325, allocations: 8.922 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2326, allocations: 0 / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.2326, allocations: 38.5 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.2326, allocations: 0 / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001141/0.2327, allocations: 41.69 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.2327, allocations: 59.39 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.2328, allocations: 101.9 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.2328, allocations: 29.69 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.2329, allocations: 84.08 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.2329, allocations: 11.91 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.2329, allocations: 0 / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.233, allocations: 318.9 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.233, allocations: 4 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/0.233, allocations: 17.7 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.774e-05/0.233, allocations: 8 kB / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.233, allocations: 0 / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.79e-05/0.2331, allocations: 45.88 kB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.2331, allocations: 8.125 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2331, allocations: 0 / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.2331, allocations: 0 / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.2332, allocations: 11.98 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2332, allocations: 0 / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.2332, allocations: 4 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2332, allocations: 0 / 0.9022 GB, free: 61.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.2333, allocations: 118.1 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.2333, allocations: 0 / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.2334, allocations: 64.61 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2334, allocations: 4 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2334, allocations: 0 / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2334, allocations: 0 / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.491e-05/0.2335, allocations: 153.6 kB / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2335, allocations: 0 / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.2336, allocations: 4 kB / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2336, allocations: 0 / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2336, allocations: 0 / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2336, allocations: 0 / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2336, allocations: 8.031 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.109e-05/0.2337, allocations: 84.95 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.2337, allocations: 81.06 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.2337, allocations: 0 / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.2338, allocations: 4.031 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.2338, allocations: 3.938 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2338, allocations: 3.984 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.701e-05/0.2338, allocations: 91.38 kB / 0.9028 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2338, allocations: 0 / 0.9028 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001871/0.234, allocations: 0 / 0.9028 GB, free: 60.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000224/0.2342, allocations: 0.6125 MB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.385e-05/0.2343, allocations: 20.02 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2343, allocations: 0 / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.2343, allocations: 4 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.2345, allocations: 5.969 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.2349, allocations: 387.5 kB / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.235, allocations: 0.681 MB / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.461e-05/0.235, allocations: 0 / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.2351, allocations: 11.44 kB / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2351, allocations: 0 / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/0.2456, allocations: 0.9967 MB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001304/0.2458, allocations: 188.5 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.865, allocations: 0 / 0.9056 GB, free: 58.02 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)