Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.0009013/0.0009013, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008765/0.0008765, allocations: 169 kB / 23.27 MB, free: 1.223 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.9426/0.9426, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.002133/0.002133, allocations: 245.7 kB / 260.5 MB, free: 12.68 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.7838/0.7838, allocations: 138.4 MB / 455.5 MB, free: 29.98 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.5556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021e-05/1.208e-05, allocations: 9.688 kB / 0.5556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001166/0.001179, allocations: 0.5938 MB / 0.5562 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001862/0.001365, allocations: 43.77 kB / 0.5563 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.001379, allocations: 0 / 0.5563 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.001392, allocations: 0 / 0.5563 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.001396, allocations: 4 kB / 0.5563 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.001624, allocations: 7.984 kB / 0.5563 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.145e-05/0.001656, allocations: 7.984 kB / 0.5563 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.93e-05/0.001685, allocations: 0 / 0.5563 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.423e-05/0.001709, allocations: 0 / 0.5563 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.766e-05/0.001727, allocations: 3.984 kB / 0.5563 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.395e-06/0.001735, allocations: 4 kB / 0.5563 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.689e-05/0.001812, allocations: 15.97 kB / 0.5563 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.001821, allocations: 4 kB / 0.5563 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.756e-06/0.00183, allocations: 0 / 0.5563 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.022e-05/0.0019, allocations: 23.86 kB / 0.5563 GB, free: 15.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.001902, allocations: 4 kB / 0.5563 GB, free: 15.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.001902, allocations: 0 / 0.5563 GB, free: 15.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.001905, allocations: 0 / 0.5563 GB, free: 15.1 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002073/0.002112, allocations: 340.4 kB / 0.5567 GB, free: 14.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.002143, allocations: 9.938 kB / 0.5567 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.944e-05/0.002162, allocations: 4.938 kB / 0.5567 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.958e-05/0.002242, allocations: 108.6 kB / 0.5568 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.00225, allocations: 384 / 0.5568 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-06/0.002255, allocations: 384 / 0.5568 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.173e-05/0.002306, allocations: 42.19 kB / 0.5568 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.002312, allocations: 192 / 0.5568 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-06/0.002316, allocations: 384 / 0.5568 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.00232, allocations: 384 / 0.5568 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.021e-05/0.00233, allocations: 7.875 kB / 0.5568 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.425e-05/0.002404, allocations: 93.27 kB / 0.5569 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.812e-05/0.002433, allocations: 23.06 kB / 0.5569 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.17e-05/0.002444, allocations: 11.78 kB / 0.5569 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.002469, allocations: 0 / 0.5569 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.002488, allocations: 37.39 kB / 0.557 GB, free: 14.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.002488, allocations: 4 kB / 0.557 GB, free: 14.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 8.015e-05/0.002569, allocations: 41.62 kB / 0.557 GB, free: 14.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.002588, allocations: 51.41 kB / 0.5571 GB, free: 14.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.531e-05/0.002623, allocations: 142.2 kB / 0.5572 GB, free: 14.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.002631, allocations: 25.7 kB / 0.5572 GB, free: 14.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.323e-05/0.002654, allocations: 126.9 kB / 0.5574 GB, free: 13.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.002676, allocations: 8.281 kB / 0.5574 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.002698, allocations: 15.38 kB / 0.5574 GB, free: 13.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.002793, allocations: 496.1 kB / 0.5578 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-06/0.002799, allocations: 4 kB / 0.5579 GB, free: 13.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-06/0.002806, allocations: 8.109 kB / 0.5579 GB, free: 13.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.002827, allocations: 11.69 kB / 0.5579 GB, free: 13.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.002828, allocations: 0 / 0.5579 GB, free: 13.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.832e-05/0.002866, allocations: 37.64 kB / 0.5579 GB, free: 13.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.002875, allocations: 6.969 kB / 0.5579 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.00288, allocations: 3.984 kB / 0.5579 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.00289, allocations: 4 kB / 0.5579 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-05/0.002925, allocations: 3.984 kB / 0.5579 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.002927, allocations: 0 / 0.5579 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-06/0.002936, allocations: 3.953 kB / 0.5579 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.002945, allocations: 12.08 kB / 0.5579 GB, free: 13.26 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 (1): * Single equations (assignments): 1 * 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.91e-05/0.002995, allocations: 156.5 kB / 0.5581 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-06/0.002999, allocations: 0 / 0.5581 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.003058, allocations: 40.64 kB / 0.5581 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.00306, allocations: 3.984 kB / 0.5581 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.003061, allocations: 0 / 0.5581 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.003063, allocations: 3.938 kB / 0.5581 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.338e-05/0.003117, allocations: 105.2 kB / 0.5582 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003117, allocations: 0 / 0.5582 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-06/0.003124, allocations: 4 kB / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.003126, allocations: 4 kB / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-06/0.003129, allocations: 0 / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.003129, allocations: 0 / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.00313, allocations: 0 / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.462e-05/0.003175, allocations: 72.38 kB / 0.5583 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.003179, allocations: 4 kB / 0.5583 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-06/0.003185, allocations: 0 / 0.5583 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.82e-06/0.003191, allocations: 32 / 0.5583 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-06/0.003199, allocations: 4 kB / 0.5583 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.003201, allocations: 0 / 0.5583 GB, free: 12.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.659e-05/0.003227, allocations: 127.2 kB / 0.5584 GB, free: 12.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.003227, allocations: 0 / 0.5584 GB, free: 12.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.003392, allocations: 4 kB / 0.5584 GB, free: 12.68 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 (1): * Single equations (assignments): 1 * 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 9.246e-05/0.003484, allocations: 99.23 kB / 0.5585 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.194e-05/0.003526, allocations: 19.69 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.003527, allocations: 0 / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-06/0.003535, allocations: 15.75 kB / 0.5586 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.003641, allocations: 5.688 kB / 0.5586 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001275/0.003768, allocations: 91.98 kB / 0.5587 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.609e-05/0.003794, allocations: 51.36 kB / 0.5587 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.716e-05/0.003811, allocations: 4 kB / 0.5587 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.003845, allocations: 70.27 kB / 0.5588 GB, free: 12.27 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.003845, allocations: 0 / 0.5588 GB, free: 12.27 MB / 490.7 MB Notification: Performance of Templates: time 0.001605/0.00545, allocations: 357.7 kB / 0.5591 GB, free: 11.93 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5735308779403567]