Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 105.4 kB / 15.98 MB, free: 6.352 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.001071/0.001071, allocations: 191.1 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7716/0.7716, allocations: 122.9 MB / 413.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 71.88 kB / 0.4906 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3991, allocations: 77.93 MB / 0.5667 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002677/0.4018, allocations: 1.484 MB / 0.5681 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003061/0.4022, allocations: 95.28 kB / 0.5682 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.4022, allocations: 0.5625 kB / 0.5682 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.877e-05/0.4023, allocations: 0.6562 kB / 0.5682 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.877e-05/0.4023, allocations: 7.422 kB / 0.5682 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.4026, allocations: 17.48 kB / 0.5683 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.465e-05/0.4027, allocations: 26.78 kB / 0.5683 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.4028, allocations: 9.688 kB / 0.5683 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.4028, allocations: 7.734 kB / 0.5683 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.4029, allocations: 15.22 kB / 0.5683 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.4029, allocations: 2.344 kB / 0.5683 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.381e-05/0.403, allocations: 20.45 kB / 0.5683 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.4031, allocations: 7.938 kB / 0.5683 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.4031, allocations: 11.11 kB / 0.5683 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.4032, allocations: 34.64 kB / 0.5684 GB, free: 31.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4032, allocations: 0 / 0.5684 GB, free: 31.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4032, allocations: 0 / 0.5684 GB, free: 31.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.4032, allocations: 0.9844 kB / 0.5684 GB, free: 31.46 MB / 446.1 MB 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.0003781/0.4036, allocations: 346.6 kB / 0.5687 GB, free: 31.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4037, allocations: 10.62 kB / 0.5687 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.4037, allocations: 2 kB / 0.5687 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.719e-05/0.4038, allocations: 180.4 kB / 0.5689 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4038, allocations: 2.781 kB / 0.5689 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.4038, allocations: 2.531 kB / 0.5689 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.404, allocations: 54.3 kB / 0.569 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.404, allocations: 1.219 kB / 0.569 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.404, allocations: 5.531 kB / 0.569 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.404, allocations: 0 / 0.569 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.4042, allocations: 38.08 kB / 0.569 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.4045, allocations: 257.5 kB / 0.5692 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.4046, allocations: 43.78 kB / 0.5693 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.4047, allocations: 23.31 kB / 0.5693 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.4047, allocations: 2.906 kB / 0.5693 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.4048, allocations: 35.06 kB / 0.5693 GB, free: 30.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4048, allocations: 1.812 kB / 0.5693 GB, free: 30.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003383/0.4051, allocations: 94.89 kB / 0.5694 GB, free: 30.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.4051, allocations: 57.27 kB / 0.5695 GB, free: 30.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.4052, allocations: 104.3 kB / 0.5696 GB, free: 30.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.4052, allocations: 27.52 kB / 0.5696 GB, free: 30.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.4053, allocations: 87.91 kB / 0.5697 GB, free: 30.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.4053, allocations: 6.047 kB / 0.5697 GB, free: 30.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.4053, allocations: 12.09 kB / 0.5697 GB, free: 30.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.4054, allocations: 314.3 kB / 0.57 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.241e-05/0.4055, allocations: 20.64 kB / 0.57 GB, free: 29.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.4055, allocations: 17.09 kB / 0.5701 GB, free: 29.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.4057, allocations: 45.53 kB / 0.5701 GB, free: 29.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4057, allocations: 0.75 kB / 0.5701 GB, free: 29.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001832/0.4059, allocations: 79.39 kB / 0.5702 GB, free: 29.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4059, allocations: 7.453 kB / 0.5702 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4059, allocations: 0 / 0.5702 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.4059, allocations: 0 / 0.5702 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.406, allocations: 9.922 kB / 0.5702 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.406, allocations: 2.469 kB / 0.5702 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.4061, allocations: 5.047 kB / 0.5702 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.4061, allocations: 3.078 kB / 0.5702 GB, free: 29.75 MB / 446.1 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 (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.887e-05/0.4061, allocations: 117.2 kB / 0.5703 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.4062, allocations: 6.5 kB / 0.5703 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.4064, allocations: 72.66 kB / 0.5704 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4064, allocations: 5.719 kB / 0.5704 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4064, allocations: 0 / 0.5704 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4064, allocations: 1.25 kB / 0.5704 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.4065, allocations: 168.5 kB / 0.5706 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4065, allocations: 0 / 0.5706 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.4066, allocations: 9.375 kB / 0.5706 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4066, allocations: 2.031 kB / 0.5706 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.4066, allocations: 0 / 0.5706 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4066, allocations: 5.312 kB / 0.5706 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4066, allocations: 0 / 0.5706 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.4068, allocations: 174.6 kB / 0.5707 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.4069, allocations: 79.27 kB / 0.5708 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.4069, allocations: 0.6562 kB / 0.5708 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.407, allocations: 5.859 kB / 0.5708 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.407, allocations: 6.5 kB / 0.5708 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.407, allocations: 2.625 kB / 0.5708 GB, free: 29.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.899e-05/0.407, allocations: 87.14 kB / 0.5709 GB, free: 29.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.407, allocations: 5.094 kB / 0.5709 GB, free: 29.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.4073, allocations: 8.062 kB / 0.5709 GB, free: 29.06 MB / 446.1 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 (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.0001179/0.4074, allocations: 99.27 kB / 0.571 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.4076, allocations: 40.39 kB / 0.5711 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4076, allocations: 1 kB / 0.5711 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/0.4077, allocations: 21.95 kB / 0.5711 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.408, allocations: 10.17 kB / 0.5711 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.4082, allocations: 132.6 kB / 0.5712 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.4084, allocations: 0.6808 MB / 0.5719 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.12e-05/0.4084, allocations: 0 / 0.5719 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.4084, allocations: 9.703 kB / 0.5719 GB, free: 28.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4084, allocations: 1.406 kB / 0.5719 GB, free: 28.13 MB / 446.1 MB Notification: Performance of Templates: time 0.002474/0.4109, allocations: 487.6 kB / 0.5724 GB, free: 28.09 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)