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.001145/0.001145, allocations: 92.22 kB / 19.65 MB, free: 276 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.001124/0.001124, allocations: 173 kB / 23.02 MB, free: 1.543 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.9385/0.9385, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.001616/0.001616, allocations: 240.7 kB / 260.2 MB, free: 12.82 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.7295/0.7295, allocations: 138.4 MB / 455.2 MB, free: 1.512 MB / 362.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.292e-06/1.292e-06, allocations: 0 / 0.5551 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.788e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.009252/0.00927, allocations: 1.495 MB / 0.5566 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002824/0.009552, allocations: 92.58 kB / 0.5567 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.009576, allocations: 0 / 0.5567 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/0.009639, allocations: 7.922 kB / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.889e-05/0.009678, allocations: 4 kB / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.009937, allocations: 15.92 kB / 0.5567 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.597e-05/0.01, allocations: 31.92 kB / 0.5567 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.42e-05/0.01008, allocations: 0 / 0.5567 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.01011, allocations: 15.92 kB / 0.5567 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.755e-05/0.01015, allocations: 15.97 kB / 0.5568 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.01016, allocations: 4 kB / 0.5568 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.918e-05/0.01024, allocations: 15.92 kB / 0.5568 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.01028, allocations: 7.984 kB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.0103, allocations: 11.94 kB / 0.5568 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.01041, allocations: 31.95 kB / 0.5568 GB, free: 14.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01041, allocations: 3.984 kB / 0.5568 GB, free: 14.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01042, allocations: 0 / 0.5568 GB, free: 14.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.01042, allocations: 4 kB / 0.5568 GB, free: 14.72 MB / 490.7 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.0003506/0.01077, allocations: 360.6 kB / 0.5572 GB, free: 14.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.01081, allocations: 12.75 kB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.01084, allocations: 8.828 kB / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.01092, allocations: 112.6 kB / 0.5573 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.01093, allocations: 384 / 0.5573 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.01094, allocations: 384 / 0.5573 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.01106, allocations: 62.92 kB / 0.5574 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.01107, allocations: 192 / 0.5574 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.01107, allocations: 384 / 0.5574 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.01108, allocations: 12.38 kB / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.784e-05/0.01111, allocations: 3.938 kB / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.01138, allocations: 255.8 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.268e-05/0.01143, allocations: 27.06 kB / 0.5577 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.01145, allocations: 7.688 kB / 0.5577 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.01149, allocations: 8.062 kB / 0.5577 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.01151, allocations: 37.33 kB / 0.5577 GB, free: 13.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.01151, allocations: 0 / 0.5577 GB, free: 13.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.01166, allocations: 53.52 kB / 0.5578 GB, free: 13.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007518/0.01241, allocations: 55.53 kB / 0.5578 GB, free: 13.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009891/0.0134, allocations: 165.9 kB / 0.558 GB, free: 13.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.01341, allocations: 25.7 kB / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.01346, allocations: 130.9 kB / 0.5581 GB, free: 13.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.01348, allocations: 7.953 kB / 0.5581 GB, free: 13.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.01351, allocations: 19.38 kB / 0.5581 GB, free: 13.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.01364, allocations: 0.4884 MB / 0.5586 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.01365, allocations: 0 / 0.5586 GB, free: 12.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.122e-05/0.01366, allocations: 0 / 0.5586 GB, free: 12.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.0137, allocations: 19.69 kB / 0.5586 GB, free: 12.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.0137, allocations: 4.062 kB / 0.5586 GB, free: 12.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.517e-05/0.01378, allocations: 37.64 kB / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01379, allocations: 4 kB / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.0138, allocations: 3.938 kB / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01381, allocations: 3.984 kB / 0.5587 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.01389, allocations: 8 kB / 0.5587 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.01389, allocations: 0 / 0.5587 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.01391, allocations: 0 / 0.5587 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.01392, allocations: 0 / 0.5587 GB, free: 12.61 MB / 490.7 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 6.376e-05/0.01398, allocations: 164.6 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.01401, allocations: 7.938 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.414e-05/0.01409, allocations: 53.19 kB / 0.5589 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01409, allocations: 0 / 0.5589 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.0141, allocations: 4 kB / 0.5589 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.0141, allocations: 0 / 0.5589 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.01421, allocations: 108.6 kB / 0.559 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01421, allocations: 0 / 0.559 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.01424, allocations: 11.98 kB / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.01424, allocations: 0 / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.01424, allocations: 0 / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01424, allocations: 11.97 kB / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.01425, allocations: 256 / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.662e-05/0.01434, allocations: 179.9 kB / 0.5592 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.01435, allocations: 11.94 kB / 0.5592 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.01436, allocations: 8 kB / 0.5592 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.514e-05/0.01441, allocations: 3.938 kB / 0.5592 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.01444, allocations: 11.92 kB / 0.5592 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.01444, allocations: 0 / 0.5592 GB, free: 11.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.772e-05/0.01448, allocations: 123.2 kB / 0.5594 GB, free: 11.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01448, allocations: 0 / 0.5594 GB, free: 11.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.0147, allocations: 12.03 kB / 0.5594 GB, free: 11.84 MB / 490.7 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.0001033/0.0148, allocations: 107.2 kB / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.01488, allocations: 15.69 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01488, allocations: 0 / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.972e-05/0.0149, allocations: 11.69 kB / 0.5595 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01512, allocations: 4 kB / 0.5595 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.01536, allocations: 125.4 kB / 0.5596 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.719e-05/0.0154, allocations: 55.34 kB / 0.5597 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.779e-05/0.01542, allocations: 4 kB / 0.5597 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.01544, allocations: 8.5 kB / 0.5597 GB, free: 11.45 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01544, allocations: 0 / 0.5597 GB, free: 11.45 MB / 490.7 MB Notification: Performance of Templates: time 0.005121/0.02056, allocations: 0.6338 MB / 0.5603 GB, free: 10.82 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.532898941077292]