Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.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.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Biquadratic",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.493/1.493, allocations: 288.4 MB / 303.6 MB, free: 8.121 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.0009704/0.0009704, allocations: 187.8 kB / 372.3 MB, free: 10.11 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.345/1.345, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0006294/0.0006294, allocations: 86.36 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 16.84 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.214, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001434/0.2155, allocations: 1.191 MB / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002846/0.2158, allocations: 104.6 kB / 0.9814 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.2159, allocations: 7.938 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.2159, allocations: 3.938 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.216, allocations: 7.922 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.2162, allocations: 11.98 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.2163, allocations: 43.84 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.406e-05/0.2164, allocations: 8 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.935e-05/0.2164, allocations: 19.98 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.2165, allocations: 15.92 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2165, allocations: 4 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.689e-05/0.2166, allocations: 19.92 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.2166, allocations: 11.98 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.2167, allocations: 49.55 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.574e-05/0.2168, allocations: 32.22 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2168, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2168, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2168, allocations: 0 / 0.9817 GB, free: 25.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004866/0.2173, allocations: 379.3 kB / 0.982 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2174, allocations: 12.03 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.2174, allocations: 30.75 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.2174, allocations: 8.844 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2176, allocations: 180.3 kB / 0.9823 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2176, allocations: 4.375 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.2176, allocations: 4.375 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.2179, allocations: 86.16 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2179, allocations: 7.922 kB / 0.9824 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2179, allocations: 0 / 0.9824 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2179, allocations: 4 kB / 0.9824 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.2182, allocations: 95.92 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.2186, allocations: 288.8 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.2188, allocations: 82.47 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.219, allocations: 56.91 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.2192, allocations: 105.1 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2192, allocations: 38.56 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.424e-06/0.2192, allocations: 3.938 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005325/0.2198, allocations: 185.6 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.2198, allocations: 55.41 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.677e-05/0.2199, allocations: 127.1 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.2199, allocations: 29.64 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.2199, allocations: 92.14 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.22, allocations: 7.812 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.22, allocations: 0 / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.61e-05/0.22, allocations: 322.8 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.2202, allocations: 51.95 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.2203, allocations: 43.97 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.2206, allocations: 104.7 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2206, allocations: 0 / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003105/0.2209, allocations: 133.6 kB / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2209, allocations: 4 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2209, allocations: 0 / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2209, allocations: 4 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.2211, allocations: 19.92 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2211, allocations: 0 / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.2212, allocations: 23.97 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2212, allocations: 8 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 5.96e-05/0.2212, allocations: 119.1 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.2213, allocations: 3.906 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.2216, allocations: 145.5 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2216, allocations: 0 / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2217, allocations: 0 / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2217, allocations: 4 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.2218, allocations: 177.6 kB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2218, allocations: 4 kB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.2219, allocations: 23.92 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2219, allocations: 0 / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2219, allocations: 0 / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2219, allocations: 4 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2219, allocations: 0 / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.2223, allocations: 231.3 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.2223, allocations: 85.02 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.2223, allocations: 8 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.2225, allocations: 15.92 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.2225, allocations: 11.98 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2225, allocations: 0 / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.2226, allocations: 102.3 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2226, allocations: 0 / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002161/0.2228, allocations: 23.88 kB / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0005567/0.2234, allocations: 0.7592 MB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.2237, allocations: 104.2 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2237, allocations: 0 / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.2239, allocations: 59.98 kB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.2241, allocations: 5.969 kB / 0.986 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.2245, allocations: 198.2 kB / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.2247, allocations: 0.6888 MB / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.2247, allocations: 0 / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.2248, allocations: 19.42 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of SimCode: time 6.42e-07/0.2248, allocations: 4 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5412/0.766, allocations: 1.527 MB / 0.9883 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.7662, allocations: 193.4 kB / 0.9885 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.384, allocations: 0 / 0.9885 GB, free: 18.32 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)