Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 192.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 292.2 MB / 0.5484 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 69.06 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2213, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001804/0.2231, allocations: 0.6502 MB / 0.7833 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002369/0.2234, allocations: 35.88 kB / 0.7833 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.14e-05/0.2234, allocations: 0 / 0.7833 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.2234, allocations: 0 / 0.7833 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-06/0.2234, allocations: 0 / 0.7833 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.2237, allocations: 8 kB / 0.7834 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.297e-05/0.2237, allocations: 4 kB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.2238, allocations: 7.984 kB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.2238, allocations: 7.938 kB / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.745e-05/0.2238, allocations: 3.984 kB / 0.7834 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.487e-06/0.2238, allocations: 4 kB / 0.7834 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.2239, allocations: 19.92 kB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.296e-06/0.224, allocations: 3.938 kB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.224, allocations: 0 / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.061e-05/0.2241, allocations: 15.97 kB / 0.7834 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2241, allocations: 0 / 0.7834 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2241, allocations: 0 / 0.7834 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.2241, allocations: 0 / 0.7834 GB, free: 13.21 MB / 0.6075 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.0002784/0.2244, allocations: 311.6 kB / 0.7837 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2244, allocations: 8.031 kB / 0.7837 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.2244, allocations: 8.938 kB / 0.7837 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.303e-05/0.2245, allocations: 164.4 kB / 0.7839 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2245, allocations: 4.375 kB / 0.7839 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.2246, allocations: 384 / 0.7839 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.93e-05/0.2246, allocations: 26.27 kB / 0.7839 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2246, allocations: 4.188 kB / 0.7839 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.2247, allocations: 3.938 kB / 0.7839 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2247, allocations: 0 / 0.7839 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.2247, allocations: 3.938 kB / 0.7839 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.2248, allocations: 153.7 kB / 0.7841 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.43e-05/0.2249, allocations: 18.61 kB / 0.7841 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.2249, allocations: 4.859 kB / 0.7841 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.2249, allocations: 4.062 kB / 0.7841 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2249, allocations: 30.56 kB / 0.7841 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2249, allocations: 0 / 0.7841 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001123/0.2251, allocations: 41.67 kB / 0.7842 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.2251, allocations: 59.44 kB / 0.7842 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.166e-05/0.2251, allocations: 93.84 kB / 0.7843 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2252, allocations: 29.64 kB / 0.7843 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.231e-05/0.2252, allocations: 80.14 kB / 0.7844 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.2252, allocations: 3.906 kB / 0.7844 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.2252, allocations: 13.72 kB / 0.7844 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.2253, allocations: 314.8 kB / 0.7847 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-06/0.2254, allocations: 4 kB / 0.7847 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.2254, allocations: 4 kB / 0.7847 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.2254, allocations: 8.859 kB / 0.7848 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2254, allocations: 3.938 kB / 0.7848 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.301e-05/0.2255, allocations: 33.69 kB / 0.7848 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.2255, allocations: 8 kB / 0.7848 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2255, allocations: 0 / 0.7848 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2255, allocations: 11.86 kB / 0.7848 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.455e-05/0.2256, allocations: 0 / 0.7848 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.2256, allocations: 8.094 kB / 0.7848 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.2256, allocations: 0 / 0.7848 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2256, allocations: 0 / 0.7848 GB, free: 11.55 MB / 0.6075 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.2257, allocations: 106.5 kB / 0.7849 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.2257, allocations: 4 kB / 0.7849 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.989e-05/0.2258, allocations: 48.69 kB / 0.785 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2258, allocations: 4.031 kB / 0.785 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2258, allocations: 0 / 0.785 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.2258, allocations: 0 / 0.785 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.74e-05/0.2259, allocations: 149.7 kB / 0.7851 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2259, allocations: 0 / 0.7851 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.2259, allocations: 0 / 0.7851 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.2259, allocations: 0 / 0.7851 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.2259, allocations: 7.938 kB / 0.7851 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2259, allocations: 0 / 0.7851 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2259, allocations: 4 kB / 0.7851 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.435e-05/0.226, allocations: 61.12 kB / 0.7852 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.226, allocations: 81.39 kB / 0.7853 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.226, allocations: 3.938 kB / 0.7853 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.2261, allocations: 3.938 kB / 0.7853 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.2261, allocations: 0 / 0.7853 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.2261, allocations: 0 / 0.7853 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.2261, allocations: 79.22 kB / 0.7853 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2261, allocations: 0 / 0.7853 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001888/0.2263, allocations: 16.03 kB / 0.7854 GB, free: 10.89 MB / 0.6075 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001286/0.2264, allocations: 111.2 kB / 0.7855 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.813e-05/0.2265, allocations: 4 kB / 0.7855 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2265, allocations: 0 / 0.7855 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.425e-06/0.2265, allocations: 4 kB / 0.7855 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.2267, allocations: 3.938 kB / 0.7855 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001469/0.2268, allocations: 74.89 kB / 0.7856 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.227, allocations: 0.6809 MB / 0.7862 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.227, allocations: 0 / 0.7862 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.2271, allocations: 11.44 kB / 0.7862 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2271, allocations: 0 / 0.7862 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of Templates: time 0.001859/0.2289, allocations: 293.6 kB / 0.7865 GB, free: 9.652 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)