Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.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.Polynominal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal",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.778/1.778, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.0009754/0.0009752, allocations: 184.5 kB / 372 MB, free: 10.28 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.732/1.732, allocations: 205.4 MB / 0.6307 GB, free: 9.887 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.0006979/0.0006981, allocations: 85.91 kB / 0.744 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003748, allocations: 12.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2261, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001478/0.2277, allocations: 1.141 MB / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.2279, allocations: 88.69 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.228, allocations: 0 / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.249e-05/0.2281, allocations: 7.938 kB / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/0.2281, allocations: 4 kB / 0.9809 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.2283, allocations: 11.98 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.225e-05/0.2284, allocations: 27.86 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.2285, allocations: 4 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.568e-05/0.2285, allocations: 11.92 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.2286, allocations: 11.98 kB / 0.9809 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.2286, allocations: 3.938 kB / 0.9809 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.758e-05/0.2287, allocations: 19.92 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.2287, allocations: 3.984 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.2288, allocations: 29.7 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.738e-05/0.2288, allocations: 27.97 kB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2288, allocations: 0 / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2289, allocations: 0 / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2289, allocations: 0 / 0.981 GB, free: 26.15 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000394/0.2293, allocations: 347.5 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2293, allocations: 16.02 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.2293, allocations: 34.5 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.158e-05/0.2294, allocations: 4 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.087e-05/0.2295, allocations: 170.9 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.2295, allocations: 0 / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2295, allocations: 0 / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.2297, allocations: 57.67 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2297, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.2297, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2297, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.2299, allocations: 55.95 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.2302, allocations: 256.9 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2303, allocations: 46.56 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.2304, allocations: 28.91 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.2305, allocations: 3.984 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.2305, allocations: 38.56 kB / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.2305, allocations: 0 / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003372/0.2308, allocations: 101.7 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.2309, allocations: 55.41 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/0.2309, allocations: 105.8 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/0.2309, allocations: 25.7 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.231, allocations: 88.14 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.231, allocations: 7.844 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.231, allocations: 0 / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.2311, allocations: 314.8 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.2311, allocations: 35.91 kB / 0.9827 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.2312, allocations: 19.98 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.902e-05/0.2313, allocations: 23.98 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2313, allocations: 4.062 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.2315, allocations: 85.53 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2315, allocations: 4 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2315, allocations: 4.234 kB / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2316, allocations: 0 / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.2e-05/0.2317, allocations: 24.02 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2317, allocations: 0 / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.2317, allocations: 11.98 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.2317, allocations: 0 / 0.9829 GB, free: 24 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 (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 5.767e-05/0.2318, allocations: 113.8 kB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.2318, allocations: 3.906 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.2321, allocations: 89.19 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2321, allocations: 0 / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2321, allocations: 3.984 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2321, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.2322, allocations: 165.6 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2322, allocations: 3.938 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.2323, allocations: 16.02 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2323, allocations: 0 / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.2323, allocations: 4 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2323, allocations: 0 / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2323, allocations: 0 / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.2325, allocations: 179.5 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.2325, allocations: 81.02 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.2326, allocations: 3.984 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.2326, allocations: 8 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.2327, allocations: 3.984 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.2327, allocations: 4.031 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.561e-05/0.2327, allocations: 87.28 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2327, allocations: 0 / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002048/0.2329, allocations: 8 kB / 0.9836 GB, free: 23.14 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 (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.000427/0.2334, allocations: 0.7202 MB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.2336, allocations: 55.94 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2336, allocations: 0 / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.767e-05/0.2337, allocations: 31.91 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.2339, allocations: 4 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.2344, allocations: 146.5 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.2345, allocations: 0.677 MB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.2345, allocations: 192 / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.2345, allocations: 11.38 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2345, allocations: 4 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.2472, allocations: 1.175 MB / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003661/0.2476, allocations: 199.1 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.845, allocations: 0 / 0.9866 GB, free: 20.11 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)