Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.789/1.789, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 175.2 kB / 393.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.7 MB / 0.6743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007117/0.0007116, allocations: 97.2 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004363, allocations: 8 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5856, allocations: 121.3 MB / 1.041 GB, free: 58.44 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00142/0.587, allocations: 1.157 MB / 1.042 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002806/0.5873, allocations: 170.8 kB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.5874, allocations: 3.219 kB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.197e-05/0.5874, allocations: 3 kB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.233e-05/0.5875, allocations: 5.094 kB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.5876, allocations: 10.89 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.925e-05/0.5877, allocations: 31.25 kB / 1.042 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.22e-05/0.5878, allocations: 1.594 kB / 1.042 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.605e-05/0.5878, allocations: 10.16 kB / 1.042 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.5879, allocations: 12.41 kB / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.5879, allocations: 0 / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.501e-05/0.588, allocations: 15.97 kB / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.588, allocations: 10.52 kB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.588, allocations: 34.33 kB / 1.042 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.534e-05/0.5881, allocations: 40.45 kB / 1.042 GB, free: 57.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5881, allocations: 3.938 kB / 1.042 GB, free: 57.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5882, allocations: 0 / 1.042 GB, free: 57.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.5882, allocations: 0 / 1.042 GB, free: 57.4 MB / 0.698 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.0003191/0.5885, allocations: 342.8 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.5885, allocations: 10.47 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.5886, allocations: 4.266 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.337e-05/0.5886, allocations: 174.2 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.5886, allocations: 3.281 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.5887, allocations: 2.719 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.5888, allocations: 55.23 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.5888, allocations: 192 / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.5888, allocations: 3.938 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5889, allocations: 1.094 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.589, allocations: 49.67 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.5893, allocations: 254.4 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.5894, allocations: 51.84 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.774e-05/0.5895, allocations: 28.03 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.5895, allocations: 11.64 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.5896, allocations: 35.44 kB / 1.043 GB, free: 56.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5896, allocations: 0 / 1.043 GB, free: 56.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003412/0.5899, allocations: 107.9 kB / 1.043 GB, free: 56.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.678e-05/0.5899, allocations: 56.19 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.378e-05/0.59, allocations: 106.6 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.59, allocations: 27.14 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.59, allocations: 86.5 kB / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.5901, allocations: 0.8906 kB / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.5901, allocations: 6.031 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.5901, allocations: 313.9 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.5902, allocations: 22.95 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/0.5903, allocations: 25.12 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.5905, allocations: 52.39 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5905, allocations: 4.594 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001928/0.5907, allocations: 91.33 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.5907, allocations: 9.719 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.5907, allocations: 224 / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5907, allocations: 4 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.421e-05/0.5908, allocations: 14.23 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.5908, allocations: 0 / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.5909, allocations: 7.875 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.5909, allocations: 3.312 kB / 1.044 GB, free: 55.71 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.5909, allocations: 111.8 kB / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.591, allocations: 6.5 kB / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.5912, allocations: 91.83 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5912, allocations: 0 / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5912, allocations: 4 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.5912, allocations: 0 / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.5913, allocations: 169.1 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5914, allocations: 3.781 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.5914, allocations: 5.469 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5914, allocations: 3.938 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.5914, allocations: 0 / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5914, allocations: 1.125 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5914, allocations: 0 / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.5917, allocations: 188.3 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.5917, allocations: 77.11 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.5917, allocations: 6.266 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.5918, allocations: 13.28 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.5918, allocations: 7.859 kB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.5918, allocations: 0 / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.534e-05/0.5919, allocations: 83.3 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5919, allocations: 0 / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002069/0.5921, allocations: 10.12 kB / 1.045 GB, free: 55 MB / 0.698 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 (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.0001166/0.5922, allocations: 111 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.5924, allocations: 52.33 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.5924, allocations: 0 / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.5925, allocations: 29.73 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.5928, allocations: 5.406 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.593, allocations: 124.4 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.816e-05/0.5931, allocations: 0.6793 MB / 1.046 GB, free: 54.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.5931, allocations: 3.781 kB / 1.046 GB, free: 54.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.5931, allocations: 7.438 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.5931, allocations: 0 / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of Templates: time 0.002112/0.5953, allocations: 474.3 kB / 1.046 GB, free: 54.01 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1)