Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 114.3 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002275/0.002275, allocations: 282.3 kB / 303.6 MB, free: 3.723 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 180.9 MB / 0.5268 GB, free: 2.699 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 95.84 kB / 0.7259 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4814, allocations: 94.15 MB / 0.8179 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002076/0.4835, allocations: 1.446 MB / 0.8193 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002692/0.4838, allocations: 104.9 kB / 0.8194 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.4838, allocations: 0.9375 kB / 0.8194 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.766e-05/0.4838, allocations: 3.938 kB / 0.8194 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.268e-05/0.4839, allocations: 5.969 kB / 0.8194 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.4841, allocations: 16.98 kB / 0.8194 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.315e-05/0.4842, allocations: 30.5 kB / 0.8194 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.4842, allocations: 2.125 kB / 0.8194 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.4843, allocations: 11.89 kB / 0.8194 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.4843, allocations: 14.34 kB / 0.8195 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.4843, allocations: 1.75 kB / 0.8195 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.948e-05/0.4844, allocations: 25.25 kB / 0.8195 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.4844, allocations: 8.172 kB / 0.8195 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.4845, allocations: 10.81 kB / 0.8195 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.4846, allocations: 35.67 kB / 0.8195 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4846, allocations: 1.438 kB / 0.8195 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4846, allocations: 0 / 0.8195 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.4846, allocations: 3.938 kB / 0.8195 GB, free: 6.285 MB / 0.5762 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.0003448/0.4849, allocations: 343.2 kB / 0.8199 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.485, allocations: 9.875 kB / 0.8199 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.485, allocations: 10.86 kB / 0.8199 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.755e-05/0.485, allocations: 169.3 kB / 0.82 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4851, allocations: 5.312 kB / 0.8201 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.4851, allocations: 1.312 kB / 0.8201 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.4852, allocations: 53.98 kB / 0.8201 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.4852, allocations: 1.031 kB / 0.8201 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.4852, allocations: 3.938 kB / 0.8201 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.4852, allocations: 0.9062 kB / 0.8201 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.4854, allocations: 39.62 kB / 0.8201 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.4856, allocations: 250.6 kB / 0.8204 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.4857, allocations: 44.38 kB / 0.8204 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.918e-05/0.4858, allocations: 26.75 kB / 0.8205 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.4859, allocations: 7.062 kB / 0.8205 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.4859, allocations: 34.55 kB / 0.8205 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4859, allocations: 0.6562 kB / 0.8205 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003186/0.4862, allocations: 91.5 kB / 0.8206 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.4862, allocations: 52.81 kB / 0.8206 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.89e-05/0.4863, allocations: 110 kB / 0.8207 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.4863, allocations: 25.7 kB / 0.8208 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.265e-05/0.4863, allocations: 88.69 kB / 0.8208 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.4863, allocations: 5.141 kB / 0.8209 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.4863, allocations: 16.44 kB / 0.8209 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.4864, allocations: 310.8 kB / 0.8212 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.4864, allocations: 21.3 kB / 0.8212 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.4865, allocations: 26.73 kB / 0.8212 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.4867, allocations: 39.39 kB / 0.8212 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4867, allocations: 4 kB / 0.8213 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001732/0.4868, allocations: 77.38 kB / 0.8213 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.4868, allocations: 4.688 kB / 0.8213 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4868, allocations: 5.125 kB / 0.8213 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.4869, allocations: 0 / 0.8213 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.4869, allocations: 9.594 kB / 0.8213 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.4869, allocations: 0 / 0.8213 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.487, allocations: 7.109 kB / 0.8214 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.487, allocations: 1.031 kB / 0.8214 GB, free: 4.555 MB / 0.5762 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.04e-05/0.487, allocations: 111.6 kB / 0.8215 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.487, allocations: 9.297 kB / 0.8215 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.4872, allocations: 81.33 kB / 0.8215 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4872, allocations: 0 / 0.8215 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4873, allocations: 0.7188 kB / 0.8215 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.4873, allocations: 4.828 kB / 0.8215 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.4874, allocations: 165.8 kB / 0.8217 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.4874, allocations: 0.9062 kB / 0.8217 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.4874, allocations: 6.094 kB / 0.8217 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.4874, allocations: 0 / 0.8217 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.4874, allocations: 4.938 kB / 0.8217 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4874, allocations: 0.8125 kB / 0.8217 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4874, allocations: 0.6562 kB / 0.8217 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.4876, allocations: 168.2 kB / 0.8219 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.4876, allocations: 77.98 kB / 0.822 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.4876, allocations: 1.031 kB / 0.822 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.4877, allocations: 14.36 kB / 0.822 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.4877, allocations: 6.562 kB / 0.822 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4877, allocations: 0 / 0.822 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.435e-05/0.4878, allocations: 83.66 kB / 0.8221 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.4878, allocations: 1.062 kB / 0.8221 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002111/0.488, allocations: 15.31 kB / 0.8221 GB, free: 3.852 MB / 0.5762 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.0001077/0.4881, allocations: 102.4 kB / 0.8222 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.4883, allocations: 42.56 kB / 0.8222 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4883, allocations: 1.25 kB / 0.8222 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.4884, allocations: 23.08 kB / 0.8222 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.4886, allocations: 7.25 kB / 0.8222 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.4888, allocations: 140.7 kB / 0.8224 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.931e-05/0.4889, allocations: 0.6882 MB / 0.823 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.4889, allocations: 9.5 kB / 0.8231 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.4889, allocations: 0 / 0.8231 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of Templates: time 0.002067/0.491, allocations: 0.6713 MB / 0.8237 GB, free: 2.836 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.059458635980263] Failed to read output from testmodel.py, exit status != 0: 0.4978074550163001 0.5085297120000001 0.021143244000000002 Calling exit ...