Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5",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.75/2.75, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.001625/0.001625, allocations: 173.1 kB / 370.8 MB, free: 10.86 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.599/2.599, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001063/0.001063, allocations: 98.45 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004805, allocations: 16.91 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2076, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006612/0.2083, allocations: 264.4 kB / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001834/0.2085, allocations: 37.62 kB / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.2086, allocations: 3.938 kB / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.2086, allocations: 0 / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.511e-05/0.2087, allocations: 0 / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.758e-05/0.2088, allocations: 15.92 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.32e-05/0.2089, allocations: 0 / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.2089, allocations: 11.92 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.209, allocations: 0 / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.2091, allocations: 15.92 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.2091, allocations: 4 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.2091, allocations: 4 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.2091, allocations: 3.984 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.2092, allocations: 25.7 kB / 0.9786 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.644e-05/0.2092, allocations: 4 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2092, allocations: 0 / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2092, allocations: 0 / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2093, allocations: 0 / 0.9787 GB, free: 27.91 MB / 0.6198 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.0003791/0.2096, allocations: 325.5 kB / 0.979 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.2097, allocations: 24 kB / 0.979 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.2097, allocations: 30.56 kB / 0.979 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.2098, allocations: 4 kB / 0.979 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.2099, allocations: 171 kB / 0.9792 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.21, allocations: 0 / 0.9792 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.21, allocations: 7.938 kB / 0.9792 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.74e-05/0.2101, allocations: 33.69 kB / 0.9792 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2101, allocations: 0 / 0.9792 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2101, allocations: 0 / 0.9792 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2101, allocations: 0 / 0.9792 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.2102, allocations: 4 kB / 0.9792 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.2103, allocations: 157.6 kB / 0.9794 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.493e-05/0.2104, allocations: 22.59 kB / 0.9794 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.2104, allocations: 7.922 kB / 0.9794 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.2104, allocations: 38.62 kB / 0.9794 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.2104, allocations: 0 / 0.9794 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001523/0.2106, allocations: 45.69 kB / 0.9795 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.2106, allocations: 51.41 kB / 0.9795 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.2107, allocations: 109.8 kB / 0.9796 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.2108, allocations: 25.7 kB / 0.9797 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.2108, allocations: 84.14 kB / 0.9797 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.2108, allocations: 3.938 kB / 0.9797 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.2108, allocations: 0 / 0.9797 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.2109, allocations: 318.8 kB / 0.98 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.2109, allocations: 0 / 0.98 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.211, allocations: 25.69 kB / 0.9801 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.211, allocations: 11.94 kB / 0.9801 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.211, allocations: 0 / 0.9801 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.909e-05/0.2111, allocations: 41.69 kB / 0.9801 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2112, allocations: 8 kB / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2112, allocations: 7.875 kB / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2112, allocations: 128 / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.2113, allocations: 8 kB / 0.9801 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2113, allocations: 0 / 0.9801 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.2114, allocations: 0 / 0.9801 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2114, allocations: 4 kB / 0.9802 GB, free: 26.14 MB / 0.6198 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 6.592e-05/0.2115, allocations: 117.8 kB / 0.9803 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.2115, allocations: 7.906 kB / 0.9803 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.2116, allocations: 44.81 kB / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2116, allocations: 0 / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2116, allocations: 4.031 kB / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.2116, allocations: 0 / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.2118, allocations: 153.7 kB / 0.9805 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2118, allocations: 7.891 kB / 0.9805 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.2118, allocations: 12.23 kB / 0.9805 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2119, allocations: 0 / 0.9805 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.2119, allocations: 4 kB / 0.9805 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2119, allocations: 0 / 0.9805 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2119, allocations: 0 / 0.9805 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.212, allocations: 73.12 kB / 0.9806 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.2121, allocations: 92.98 kB / 0.9806 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2121, allocations: 0 / 0.9806 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.2122, allocations: 0 / 0.9806 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.2122, allocations: 0 / 0.9806 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.2122, allocations: 4 kB / 0.9807 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.2122, allocations: 87.27 kB / 0.9807 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.393e-06/0.2123, allocations: 0 / 0.9807 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002442/0.2125, allocations: 8.031 kB / 0.9807 GB, free: 25.44 MB / 0.6198 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.0003023/0.2128, allocations: 0.6163 MB / 0.9813 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.692e-05/0.2129, allocations: 8 kB / 0.9814 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2129, allocations: 0 / 0.9814 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.213, allocations: 16.14 kB / 0.9814 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.2131, allocations: 8 kB / 0.9814 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.2137, allocations: 0.5098 MB / 0.9819 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.2139, allocations: 0.6849 MB / 0.9825 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.2139, allocations: 11.92 kB / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.214, allocations: 11.44 kB / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.214, allocations: 0 / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.2362, allocations: 0.965 MB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/0.2365, allocations: 183.3 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/2.51, allocations: 0 / 0.9837 GB, free: 22.38 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)