Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001861/0.001861, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.001985/0.001985, allocations: 212.9 kB / 23.02 MB, free: 2.949 MB / 13.93 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.68/1.68, allocations: 230.6 MB / 256.8 MB, free: 9.641 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.423/3.423, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003917/0.003917, allocations: 63.91 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8215, allocations: 180 MB / 1.353 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002823/0.8243, allocations: 1.46 MB / 1.354 GB, free: 176 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0003494/0.8247, allocations: 87.77 kB / 1.354 GB, free: 88 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.8247, allocations: 0 / 1.354 GB, free: 88 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.8248, allocations: 0 / 1.354 GB, free: 88 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 3.612e-05/0.8248, allocations: 3.938 kB / 1.354 GB, free: 84 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.825, allocations: 15.98 kB / 1.354 GB, free: 68 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 6.921e-05/0.8251, allocations: 27.91 kB / 1.354 GB, free: 40 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 7.758e-05/0.8252, allocations: 8 kB / 1.354 GB, free: 32 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.8252, allocations: 11.92 kB / 1.354 GB, free: 20 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.8253, allocations: 11.98 kB / 1.354 GB, free: 8 kB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.8253, allocations: 4 kB / 1.354 GB, free: 4 kB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.8254, allocations: 24.02 kB / 1.355 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.8254, allocations: 11.83 kB / 1.355 GB, free: 15.97 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.8255, allocations: 0 / 1.355 GB, free: 15.97 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.8256, allocations: 34.72 kB / 1.355 GB, free: 15.94 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8256, allocations: 0 / 1.355 GB, free: 15.94 MB / 1.042 GB Notification: Performance of FrontEnd: time 4.117e-06/0.8256, allocations: 3.984 kB / 1.355 GB, free: 15.93 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.8256, allocations: 4 kB / 1.355 GB, free: 15.93 MB / 1.042 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.0004673/0.826, allocations: 268 kB / 1.355 GB, free: 15.64 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.8261, allocations: 12.86 kB / 1.355 GB, free: 15.62 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.8261, allocations: 4.938 kB / 1.355 GB, free: 15.62 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.8262, allocations: 106.5 kB / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.8262, allocations: 4.375 kB / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.8263, allocations: 4.375 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.8264, allocations: 50.23 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.8265, allocations: 192 / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.8265, allocations: 7.938 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.8265, allocations: 3.984 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.8266, allocations: 43.89 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.827, allocations: 204.6 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.8271, allocations: 34.56 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.8272, allocations: 24.91 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.8272, allocations: 15.86 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.8273, allocations: 34.56 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.8273, allocations: 3.938 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0003712/0.8277, allocations: 85.64 kB / 1.355 GB, free: 14.92 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.8277, allocations: 51.41 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.8278, allocations: 105.8 kB / 1.356 GB, free: 14.75 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.8278, allocations: 25.7 kB / 1.356 GB, free: 14.71 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.8279, allocations: 88.14 kB / 1.356 GB, free: 14.62 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.8279, allocations: 12.02 kB / 1.356 GB, free: 14.61 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.8279, allocations: 13.72 kB / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8281, allocations: 314.8 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.8282, allocations: 19.97 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/0.8283, allocations: 15.98 kB / 1.356 GB, free: 14.24 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.8284, allocations: 48.75 kB / 1.356 GB, free: 14.19 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8284, allocations: 4.062 kB / 1.356 GB, free: 14.19 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000201/0.8286, allocations: 69.56 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8286, allocations: 11.98 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.8287, allocations: 0 / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.8287, allocations: 0 / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.8287, allocations: 4 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.8288, allocations: 4 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.8288, allocations: 7.984 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.8288, allocations: 4.031 kB / 1.356 GB, free: 14.08 MB / 1.042 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 8.635e-05/0.8289, allocations: 114.3 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.8289, allocations: 7.938 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.8292, allocations: 81.2 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.8292, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.8292, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.8292, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.8293, allocations: 109.3 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.8293, allocations: 4.031 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.8294, allocations: 8 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.8294, allocations: 7.922 kB / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.8294, allocations: 0 / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8294, allocations: 256 / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.8294, allocations: 0 / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.8297, allocations: 175.4 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.8297, allocations: 7.938 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.8297, allocations: 32 / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.8298, allocations: 11.98 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.8298, allocations: 0 / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.8298, allocations: 0 / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.014e-05/0.8299, allocations: 95.2 kB / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8299, allocations: 0 / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002111/0.8301, allocations: 4 kB / 1.357 GB, free: 13.41 MB / 1.042 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.0001491/0.8302, allocations: 95.25 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.8304, allocations: 43.95 kB / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8304, allocations: 0 / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.087e-05/0.8305, allocations: 23.92 kB / 1.357 GB, free: 13.24 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.8307, allocations: 4 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.831, allocations: 113.6 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.681e-05/0.8311, allocations: 59.34 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.998e-05/0.8311, allocations: 4.125 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.8311, allocations: 11.44 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of SimCode: time 3.91e-07/0.8311, allocations: 0 / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of Templates: time 0.003182/0.8343, allocations: 0.551 MB / 1.358 GB, free: 12.46 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.034742708317935]