Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 297.4 MB / 312.6 MB, free: 2.941 MB / 234.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.001039/0.001039, allocations: 177.4 kB / 382.3 MB, free: 14.83 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.313/1.313, allocations: 225.7 MB / 0.6617 GB, free: 7.203 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007545/0.0007546, allocations: 90.41 kB / 0.7789 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 9.312 kB / 0.9058 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5801/0.5805, allocations: 119.2 MB / 1.022 GB, free: 58.03 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007538/0.5813, allocations: 319.8 kB / 1.023 GB, free: 57.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.5815, allocations: 111.9 kB / 1.023 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-06/0.5816, allocations: 6.125 kB / 1.023 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.5816, allocations: 0 / 1.023 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.5816, allocations: 0 / 1.023 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.5818, allocations: 19.27 kB / 1.023 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.148e-05/0.5819, allocations: 2.188 kB / 1.023 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.5819, allocations: 1.188 kB / 1.023 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/0.5819, allocations: 2.594 kB / 1.023 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.582, allocations: 2.688 kB / 1.023 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.582, allocations: 0.7031 kB / 1.023 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.94e-05/0.5821, allocations: 18.22 kB / 1.023 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.317e-06/0.5821, allocations: 2.938 kB / 1.023 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.5821, allocations: 26.33 kB / 1.023 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.854e-05/0.5822, allocations: 21.42 kB / 1.023 GB, free: 57.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5822, allocations: 0 / 1.023 GB, free: 57.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5822, allocations: 1.594 kB / 1.023 GB, free: 57.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.5823, allocations: 0 / 1.023 GB, free: 57.74 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002061/0.5825, allocations: 313.6 kB / 1.023 GB, free: 57.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.5825, allocations: 8.594 kB / 1.023 GB, free: 57.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.5825, allocations: 0.9375 kB / 1.023 GB, free: 57.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.124e-05/0.5826, allocations: 162.9 kB / 1.023 GB, free: 57.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.5826, allocations: 4.312 kB / 1.023 GB, free: 57.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.5826, allocations: 1.812 kB / 1.023 GB, free: 57.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.402e-05/0.5827, allocations: 37.45 kB / 1.023 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.5827, allocations: 192 / 1.023 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.5827, allocations: 5.281 kB / 1.023 GB, free: 57.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.5828, allocations: 0 / 1.023 GB, free: 57.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.5828, allocations: 1.406 kB / 1.023 GB, free: 57.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.202e-05/0.5829, allocations: 148.8 kB / 1.023 GB, free: 56.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.961e-05/0.5829, allocations: 21.36 kB / 1.023 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.5829, allocations: 10.23 kB / 1.023 GB, free: 56.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.583, allocations: 2 kB / 1.023 GB, free: 56.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.583, allocations: 31.91 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.583, allocations: 1.375 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000107/0.5831, allocations: 39.98 kB / 1.024 GB, free: 56.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.5831, allocations: 51.41 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.02e-05/0.5832, allocations: 89.86 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.5832, allocations: 26.23 kB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.091e-05/0.5832, allocations: 82.33 kB / 1.024 GB, free: 56.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.5832, allocations: 3.906 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.5832, allocations: 0.875 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.5833, allocations: 316.2 kB / 1.024 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.5833, allocations: 5.812 kB / 1.024 GB, free: 56.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.5833, allocations: 6.156 kB / 1.024 GB, free: 56.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.5833, allocations: 15.38 kB / 1.024 GB, free: 56.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.5833, allocations: 1.031 kB / 1.024 GB, free: 56.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.35e-05/0.5834, allocations: 31.92 kB / 1.024 GB, free: 56.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5834, allocations: 9.5 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5834, allocations: 0 / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.5834, allocations: 5.281 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.5835, allocations: 1.406 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5835, allocations: 2.969 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.5835, allocations: 1.453 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.5835, allocations: 8.453 kB / 1.024 GB, free: 56.2 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 (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 4.07e-05/0.5836, allocations: 112.5 kB / 1.024 GB, free: 56.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.5836, allocations: 1.688 kB / 1.024 GB, free: 56.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.61e-05/0.5837, allocations: 50.17 kB / 1.024 GB, free: 56.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.5837, allocations: 1.375 kB / 1.024 GB, free: 56.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5837, allocations: 3.812 kB / 1.024 GB, free: 56.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5837, allocations: 0 / 1.024 GB, free: 56.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.895e-05/0.5838, allocations: 146.9 kB / 1.024 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5838, allocations: 0 / 1.024 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.5838, allocations: 5.797 kB / 1.024 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.5838, allocations: 0 / 1.024 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.5838, allocations: 5.188 kB / 1.024 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5838, allocations: 0.5938 kB / 1.024 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5838, allocations: 1.406 kB / 1.024 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.9e-05/0.5839, allocations: 61.83 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.5839, allocations: 78.2 kB / 1.025 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.5839, allocations: 4.812 kB / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.5839, allocations: 0 / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.5839, allocations: 8.672 kB / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.5839, allocations: 0 / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.144e-05/0.584, allocations: 75.28 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.584, allocations: 288 / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002069/0.5842, allocations: 8.781 kB / 1.025 GB, free: 55.59 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 (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.0001476/0.5843, allocations: 113.8 kB / 1.025 GB, free: 55.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.793e-05/0.5844, allocations: 2.656 kB / 1.025 GB, free: 55.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5844, allocations: 1.281 kB / 1.025 GB, free: 55.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.634e-06/0.5844, allocations: 10.59 kB / 1.025 GB, free: 55.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.5846, allocations: 0 / 1.025 GB, free: 55.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000132/0.5847, allocations: 81.38 kB / 1.025 GB, free: 55.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.909e-05/0.5848, allocations: 0.6758 MB / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.5848, allocations: 0 / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.5849, allocations: 12.34 kB / 1.026 GB, free: 54.69 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.5849, allocations: 0 / 1.026 GB, free: 54.69 MB / 0.698 GB Notification: Performance of Templates: time 0.001853/0.5867, allocations: 279.6 kB / 1.026 GB, free: 54.64 MB / 0.698 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)