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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 83.58 kB / 19.76 MB, free: 2.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 152.8 kB / 23.01 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.334/1.334, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002354/0.002354, allocations: 234.1 kB / 260 MB, free: 436 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8809/0.8809, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002961/0.002961, allocations: 99.83 kB / 0.6473 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3784, allocations: 95.34 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002375/0.3808, allocations: 1.461 MB / 0.7419 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002834/0.381, allocations: 100.1 kB / 0.742 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.3811, allocations: 0 / 0.742 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 5.288e-05/0.3811, allocations: 2.281 kB / 0.742 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.263e-05/0.3811, allocations: 5.641 kB / 0.742 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.3814, allocations: 22.17 kB / 0.742 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.395e-05/0.3815, allocations: 25.98 kB / 0.742 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.3815, allocations: 11.44 kB / 0.742 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.563e-05/0.3816, allocations: 13.16 kB / 0.742 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.3816, allocations: 10 kB / 0.7421 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.3816, allocations: 2.031 kB / 0.7421 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-05/0.3817, allocations: 20.45 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.514e-05/0.3817, allocations: 6.656 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.3818, allocations: 7.406 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3819, allocations: 35.84 kB / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3819, allocations: 0 / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3819, allocations: 0 / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3819, allocations: 4 kB / 0.7421 GB, free: 16.28 MB / 0.5919 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.0003398/0.3822, allocations: 271.9 kB / 0.7424 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.3823, allocations: 10.56 kB / 0.7424 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.3823, allocations: 2.922 kB / 0.7424 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.635e-05/0.3824, allocations: 121.2 kB / 0.7425 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3824, allocations: 1.984 kB / 0.7425 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.3824, allocations: 6.344 kB / 0.7425 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3825, allocations: 49.83 kB / 0.7426 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3825, allocations: 2.156 kB / 0.7426 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3826, allocations: 7.938 kB / 0.7426 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3826, allocations: 1.312 kB / 0.7426 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.3827, allocations: 39.33 kB / 0.7426 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.3829, allocations: 195.8 kB / 0.7428 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3831, allocations: 43.33 kB / 0.7428 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.3832, allocations: 25.42 kB / 0.7429 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.3832, allocations: 6.938 kB / 0.7429 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3832, allocations: 36.53 kB / 0.7429 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3832, allocations: 0 / 0.7429 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003311/0.3835, allocations: 88.83 kB / 0.743 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.3836, allocations: 53.5 kB / 0.7431 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.3836, allocations: 108.3 kB / 0.7432 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.3836, allocations: 27.17 kB / 0.7432 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.3836, allocations: 86.78 kB / 0.7433 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.3836, allocations: 8.922 kB / 0.7433 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.3837, allocations: 13.19 kB / 0.7433 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.759e-05/0.3837, allocations: 317.8 kB / 0.7436 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.3838, allocations: 16.09 kB / 0.7436 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.355e-05/0.3839, allocations: 19.98 kB / 0.7436 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.384, allocations: 40.88 kB / 0.7437 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.384, allocations: 8.062 kB / 0.7437 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001831/0.3842, allocations: 75.03 kB / 0.7437 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3842, allocations: 5.344 kB / 0.7437 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3842, allocations: 3.984 kB / 0.7437 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3842, allocations: 4.453 kB / 0.7438 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.3843, allocations: 9.5 kB / 0.7438 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.3843, allocations: 0 / 0.7438 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.3844, allocations: 10.75 kB / 0.7438 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3844, allocations: 5.188 kB / 0.7438 GB, free: 14.77 MB / 0.5919 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 3.964e-05/0.3844, allocations: 109.9 kB / 0.7439 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.3844, allocations: 5.344 kB / 0.7439 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.3846, allocations: 79.88 kB / 0.744 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3846, allocations: 1.844 kB / 0.744 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.3846, allocations: 0 / 0.744 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3846, allocations: 0.5156 kB / 0.744 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.37e-05/0.3847, allocations: 107.4 kB / 0.7441 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3847, allocations: 4.031 kB / 0.7441 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.3848, allocations: 13.91 kB / 0.7441 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3848, allocations: 3.938 kB / 0.7441 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.3848, allocations: 0 / 0.7441 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3848, allocations: 2.234 kB / 0.7441 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3848, allocations: 0 / 0.7441 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.385, allocations: 162.8 kB / 0.7442 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.385, allocations: 9.922 kB / 0.7443 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.385, allocations: 9.859 kB / 0.7443 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.3851, allocations: 9.844 kB / 0.7443 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.3851, allocations: 2.719 kB / 0.7443 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3851, allocations: 1.656 kB / 0.7443 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.518e-05/0.3852, allocations: 87.11 kB / 0.7444 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.3852, allocations: 0 / 0.7444 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002318/0.3854, allocations: 10.94 kB / 0.7444 GB, free: 14.23 MB / 0.5919 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.0001013/0.3855, allocations: 97.09 kB / 0.7445 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.3857, allocations: 45.92 kB / 0.7445 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3857, allocations: 1.188 kB / 0.7445 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.3858, allocations: 22.05 kB / 0.7445 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.386, allocations: 2.312 kB / 0.7445 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.3863, allocations: 127.4 kB / 0.7447 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.3863, allocations: 62.56 kB / 0.7447 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.3863, allocations: 4.922 kB / 0.7447 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.3863, allocations: 10.28 kB / 0.7447 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.3863, allocations: 0 / 0.7447 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.002855/0.3892, allocations: 0.5667 MB / 0.7453 GB, free: 13.84 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.411396365961991] Failed to read output from testmodel.py, exit status != 0: 0.39668393100146204 0.40769755100000005 0.023326072 Calling exit ...