Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 176.2 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4554/0.4554, allocations: 89.07 MB / 105.9 MB, free: 12.46 MB / 90.72 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.26/1.26, allocations: 225.7 MB / 353.2 MB, free: 1.098 MB / 282.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.0007563/0.0007563, allocations: 93.42 kB / 425.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002955, allocations: 8 kB / 0.4955 GB, free: 4.531 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2785, allocations: 71.33 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0005378/0.2791, allocations: 300 kB / 0.5655 GB, free: 42.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001953/0.2793, allocations: 114.4 kB / 0.5656 GB, free: 41.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-06/0.2793, allocations: 0 / 0.5656 GB, free: 41.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.2793, allocations: 0 / 0.5656 GB, free: 41.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.479e-06/0.2793, allocations: 1.375 kB / 0.5656 GB, free: 41.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.2796, allocations: 19.92 kB / 0.5656 GB, free: 41.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 2.505e-05/0.2796, allocations: 0 / 0.5656 GB, free: 41.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.2796, allocations: 5.375 kB / 0.5656 GB, free: 41.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.2797, allocations: 0 / 0.5656 GB, free: 41.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.2797, allocations: 3.938 kB / 0.5656 GB, free: 41.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.256e-06/0.2797, allocations: 0 / 0.5656 GB, free: 41.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.408e-05/0.2798, allocations: 17.36 kB / 0.5656 GB, free: 41.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.2798, allocations: 7.969 kB / 0.5657 GB, free: 41.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.2799, allocations: 25.7 kB / 0.5657 GB, free: 41.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.307e-05/0.2799, allocations: 15.98 kB / 0.5657 GB, free: 41.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2799, allocations: 0.8438 kB / 0.5657 GB, free: 41.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2799, allocations: 0 / 0.5657 GB, free: 41.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.28, allocations: 0.625 kB / 0.5657 GB, free: 41.83 MB / 410.7 MB 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.0001693/0.2801, allocations: 316.2 kB / 0.566 GB, free: 41.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.2802, allocations: 8.531 kB / 0.566 GB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.811e-05/0.2802, allocations: 0.9375 kB / 0.566 GB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.317e-05/0.2802, allocations: 163.1 kB / 0.5662 GB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.2803, allocations: 8.25 kB / 0.5662 GB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.2803, allocations: 4.375 kB / 0.5662 GB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.236e-05/0.2803, allocations: 26.27 kB / 0.5662 GB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.2803, allocations: 192 / 0.5662 GB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.2804, allocations: 3.938 kB / 0.5662 GB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2804, allocations: 5.734 kB / 0.5662 GB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.64e-05/0.2804, allocations: 4 kB / 0.5662 GB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.183e-05/0.2805, allocations: 149.7 kB / 0.5664 GB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.821e-05/0.2805, allocations: 23.58 kB / 0.5664 GB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.16e-05/0.2805, allocations: 4.859 kB / 0.5664 GB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.2806, allocations: 3.938 kB / 0.5664 GB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.2806, allocations: 42.62 kB / 0.5664 GB, free: 40.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2806, allocations: 3.938 kB / 0.5664 GB, free: 40.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.996e-05/0.2807, allocations: 37.62 kB / 0.5665 GB, free: 40.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.422e-05/0.2807, allocations: 51.41 kB / 0.5665 GB, free: 40.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.363e-05/0.2808, allocations: 89.86 kB / 0.5666 GB, free: 40.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-06/0.2808, allocations: 25.7 kB / 0.5666 GB, free: 40.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-06/0.2808, allocations: 84.27 kB / 0.5667 GB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.2808, allocations: 7.906 kB / 0.5667 GB, free: 40.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.2808, allocations: 0 / 0.5667 GB, free: 40.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.463e-05/0.2809, allocations: 310.8 kB / 0.567 GB, free: 40.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-06/0.2809, allocations: 3.938 kB / 0.567 GB, free: 40.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.2809, allocations: 4 kB / 0.567 GB, free: 40.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.816e-05/0.2809, allocations: 8.859 kB / 0.567 GB, free: 40.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2809, allocations: 0 / 0.567 GB, free: 40.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.184e-05/0.281, allocations: 41.75 kB / 0.5671 GB, free: 40.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.281, allocations: 7.906 kB / 0.5671 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.281, allocations: 0 / 0.5671 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.281, allocations: 3.938 kB / 0.5671 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-05/0.281, allocations: 4 kB / 0.5671 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.281, allocations: 0 / 0.5671 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.2811, allocations: 0 / 0.5671 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.2811, allocations: 3.938 kB / 0.5671 GB, free: 40.2 MB / 410.7 MB 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 3.42e-05/0.2811, allocations: 109.8 kB / 0.5672 GB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-06/0.2811, allocations: 8.016 kB / 0.5672 GB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.2812, allocations: 40.77 kB / 0.5672 GB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.2812, allocations: 0 / 0.5672 GB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.2812, allocations: 0 / 0.5672 GB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2812, allocations: 4 kB / 0.5672 GB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.122e-05/0.2813, allocations: 145.7 kB / 0.5674 GB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2813, allocations: 0 / 0.5674 GB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/0.2813, allocations: 4.031 kB / 0.5674 GB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2813, allocations: 7.938 kB / 0.5674 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.2813, allocations: 3.938 kB / 0.5674 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.2813, allocations: 0 / 0.5674 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2813, allocations: 0 / 0.5674 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.179e-05/0.2814, allocations: 65.06 kB / 0.5675 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.2814, allocations: 77.11 kB / 0.5675 GB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-06/0.2814, allocations: 7.875 kB / 0.5675 GB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.2814, allocations: 4.031 kB / 0.5675 GB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.2814, allocations: 0 / 0.5675 GB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2814, allocations: 4 kB / 0.5675 GB, free: 39.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.188e-05/0.2815, allocations: 75.28 kB / 0.5676 GB, free: 39.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2815, allocations: 0 / 0.5676 GB, free: 39.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.2817, allocations: 4 kB / 0.5676 GB, free: 39.55 MB / 410.7 MB 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 9.142e-05/0.2818, allocations: 111.2 kB / 0.5677 GB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.768e-05/0.2818, allocations: 8 kB / 0.5677 GB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2818, allocations: 0 / 0.5677 GB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-06/0.2818, allocations: 7.938 kB / 0.5677 GB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.282, allocations: 0 / 0.5677 GB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001064/0.2821, allocations: 81.41 kB / 0.5678 GB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.039e-05/0.2821, allocations: 0.6692 MB / 0.5685 GB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.32e-05/0.2822, allocations: 8.125 kB / 0.5685 GB, free: 38.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.2822, allocations: 11.44 kB / 0.5685 GB, free: 38.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2822, allocations: 0 / 0.5685 GB, free: 38.59 MB / 410.7 MB Notification: Performance of Templates: time 0.001511/0.2837, allocations: 276.6 kB / 0.5688 GB, free: 38.32 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)