Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.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.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.701/2.701, allocations: 287.5 MB / 302.4 MB, free: 8.23 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.001425/0.001424, allocations: 185.2 kB / 371 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.365/2.365, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009194/0.0009188, allocations: 85.98 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005194, allocations: 16.42 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2156, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001658/0.2173, allocations: 1.148 MB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003214/0.2177, allocations: 88.69 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.2177, allocations: 0 / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.874e-05/0.2178, allocations: 3.938 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.2178, allocations: 4 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.218, allocations: 11.98 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.172e-05/0.2181, allocations: 23.92 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.409e-05/0.2182, allocations: 4 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.2183, allocations: 11.92 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.812e-05/0.2183, allocations: 11.98 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2183, allocations: 4 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.138e-05/0.2184, allocations: 19.92 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.2185, allocations: 3.984 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.2185, allocations: 25.7 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.217e-05/0.2186, allocations: 23.97 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2186, allocations: 7.938 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2186, allocations: 0 / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2186, allocations: 0 / 0.9798 GB, free: 26.85 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.0004228/0.2191, allocations: 347.5 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2191, allocations: 16.02 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.2192, allocations: 30.56 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.2192, allocations: 3.938 kB / 0.9802 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.805e-05/0.2193, allocations: 178.9 kB / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2193, allocations: 0 / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.2193, allocations: 0 / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.2196, allocations: 57.67 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2196, allocations: 4 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2196, allocations: 0 / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2196, allocations: 0 / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.2199, allocations: 51.95 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.2202, allocations: 256.9 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.2205, allocations: 46.55 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.2206, allocations: 32.91 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.2207, allocations: 0 / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2207, allocations: 30.56 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.2207, allocations: 0 / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005273/0.2212, allocations: 113.6 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.2213, allocations: 55.39 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.2214, allocations: 113.8 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2214, allocations: 25.7 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.2215, allocations: 88.25 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.2215, allocations: 15.84 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.2215, allocations: 0 / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.2216, allocations: 310.8 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2217, allocations: 23.98 kB / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2219, allocations: 27.97 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.222, allocations: 23.98 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.222, allocations: 0 / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003325/0.2224, allocations: 81.72 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.2224, allocations: 9.5 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2224, allocations: 3.938 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2224, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2226, allocations: 11.98 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2226, allocations: 0 / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-05/0.2227, allocations: 12.03 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.2227, allocations: 3.953 kB / 0.9817 GB, free: 24.69 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 7.839e-05/0.2228, allocations: 119.1 kB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.2229, allocations: 3.906 kB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.2232, allocations: 89.19 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2232, allocations: 0 / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2233, allocations: 0 / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2233, allocations: 0 / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2234, allocations: 165.6 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2235, allocations: 3.938 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.2236, allocations: 15.92 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2236, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.2236, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2236, allocations: 4.031 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2236, allocations: 7.984 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.224, allocations: 175.5 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.224, allocations: 85.05 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.224, allocations: 0 / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2242, allocations: 11.98 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.2242, allocations: 0 / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-06/0.2242, allocations: 0 / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.2243, allocations: 91.52 kB / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2243, allocations: 4 kB / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003129/0.2246, allocations: 4 kB / 0.9824 GB, free: 23.82 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.0005945/0.2252, allocations: 0.7202 MB / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.2256, allocations: 51.95 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2256, allocations: 0 / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.2257, allocations: 31.98 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.2261, allocations: 4 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.2266, allocations: 150.3 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.2268, allocations: 0.677 MB / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.585e-05/0.2268, allocations: 4 kB / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.2269, allocations: 11.5 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.2269, allocations: 0 / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.246, allocations: 1.154 MB / 0.9852 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/0.2463, allocations: 187.8 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/2.85, allocations: 0 / 0.9854 GB, free: 20.81 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)