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.0008562/0.0008562, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000771/0.000771, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.873/0.873, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 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.001384/0.001384, allocations: 230.5 kB / 260.2 MB, free: 13.03 MB / 250.7 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.6606/0.6606, allocations: 138.4 MB / 455.1 MB, free: 29.97 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.6475 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.615e-05, allocations: 9.031 kB / 0.6475 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.2388/0.2388, allocations: 1.45 MB / 0.6489 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002857/0.2391, allocations: 93.53 kB / 0.649 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.2391, allocations: 0 / 0.649 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.054e-05/0.2392, allocations: 2.438 kB / 0.649 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.611e-05/0.2392, allocations: 8.875 kB / 0.649 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.2395, allocations: 15.05 kB / 0.6491 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.294e-05/0.2395, allocations: 29.5 kB / 0.6491 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.305e-05/0.2396, allocations: 5.969 kB / 0.6491 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.2397, allocations: 9.156 kB / 0.6491 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.2397, allocations: 10.86 kB / 0.6491 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2397, allocations: 2.375 kB / 0.6491 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.2398, allocations: 21.3 kB / 0.6491 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.2398, allocations: 7.75 kB / 0.6491 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.2398, allocations: 6.406 kB / 0.6492 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.24, allocations: 46.75 kB / 0.6492 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.24, allocations: 3.172 kB / 0.6492 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.24, allocations: 0 / 0.6492 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.24, allocations: 1.812 kB / 0.6492 GB, free: 56.37 MB / 0.5573 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.0003136/0.2403, allocations: 268.1 kB / 0.6495 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2403, allocations: 11.91 kB / 0.6495 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.2404, allocations: 3.781 kB / 0.6495 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.978e-05/0.2404, allocations: 112.1 kB / 0.6496 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.2404, allocations: 1.125 kB / 0.6496 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.2404, allocations: 2.812 kB / 0.6496 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.2406, allocations: 51.67 kB / 0.6496 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2406, allocations: 1.188 kB / 0.6496 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.2406, allocations: 1.781 kB / 0.6496 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2406, allocations: 1.219 kB / 0.6496 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.554e-05/0.2407, allocations: 46.8 kB / 0.6497 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.2409, allocations: 196.6 kB / 0.6499 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.2e-05/0.241, allocations: 43.27 kB / 0.6499 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.241, allocations: 26.81 kB / 0.6499 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.2411, allocations: 4.625 kB / 0.6499 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.2411, allocations: 34.84 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.2411, allocations: 0.625 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002272/0.2413, allocations: 97.48 kB / 0.6501 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.2413, allocations: 53.11 kB / 0.6501 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.948e-05/0.2414, allocations: 109.7 kB / 0.6502 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-06/0.2414, allocations: 26.2 kB / 0.6502 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.2414, allocations: 88.73 kB / 0.6503 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.2414, allocations: 14.23 kB / 0.6503 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.2414, allocations: 13.72 kB / 0.6504 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.967e-05/0.2415, allocations: 314.3 kB / 0.6507 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.2415, allocations: 20.59 kB / 0.6507 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.2416, allocations: 18.66 kB / 0.6507 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.2416, allocations: 44.73 kB / 0.6507 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2416, allocations: 0.9375 kB / 0.6507 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.808e-05/0.2417, allocations: 70.02 kB / 0.6508 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2417, allocations: 12 kB / 0.6508 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2417, allocations: 3.938 kB / 0.6508 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2418, allocations: 4.5 kB / 0.6508 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.2418, allocations: 5.984 kB / 0.6508 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2418, allocations: 6.062 kB / 0.6508 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.2418, allocations: 4.5 kB / 0.6508 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.2418, allocations: 0 / 0.6508 GB, free: 54.98 MB / 0.5573 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.638e-05/0.2419, allocations: 115.1 kB / 0.651 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.2419, allocations: 1.797 kB / 0.651 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.242, allocations: 79.19 kB / 0.651 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.242, allocations: 1.188 kB / 0.651 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.242, allocations: 0 / 0.651 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.242, allocations: 1.422 kB / 0.651 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.824e-05/0.2421, allocations: 106.8 kB / 0.6511 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.2421, allocations: 1.219 kB / 0.6511 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.2421, allocations: 13.81 kB / 0.6511 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2421, allocations: 0 / 0.6511 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.2421, allocations: 4.375 kB / 0.6512 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2421, allocations: 7.875 kB / 0.6512 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2421, allocations: 0 / 0.6512 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.2422, allocations: 166 kB / 0.6513 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.2422, allocations: 6.766 kB / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.2423, allocations: 2.719 kB / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.2423, allocations: 10.59 kB / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.2423, allocations: 6.672 kB / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.2423, allocations: 1.5 kB / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.907e-05/0.2423, allocations: 86.7 kB / 0.6514 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2423, allocations: 0 / 0.6514 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001502/0.2425, allocations: 8.625 kB / 0.6514 GB, free: 54.48 MB / 0.5573 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.0001068/0.2426, allocations: 100.4 kB / 0.6515 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.2427, allocations: 44.31 kB / 0.6516 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.2427, allocations: 3.344 kB / 0.6516 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.2428, allocations: 23.97 kB / 0.6516 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.243, allocations: 8.484 kB / 0.6516 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.2432, allocations: 138.6 kB / 0.6517 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.766e-05/0.2432, allocations: 62.81 kB / 0.6518 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.2433, allocations: 10.31 kB / 0.6518 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of SimCode: time 3.71e-07/0.2433, allocations: 3.531 kB / 0.6518 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of Templates: time 0.00162/0.2449, allocations: 0.6796 MB / 0.6525 GB, free: 54.17 MB / 0.5573 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: 5.315375626087189] Failed to read output from testmodel.py, exit status != 0: 0.2498322343453765 0.25725394 0.015726826 Calling exit ...