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.001127/0.001127, allocations: 93.06 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.001281/0.001281, allocations: 169 kB / 23.02 MB, free: 1.551 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.972/0.972, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.00167/0.00167, allocations: 237.7 kB / 260.2 MB, free: 12.84 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.7146/0.7146, allocations: 138.4 MB / 455.2 MB, free: 1.488 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.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 3.236e-06/3.236e-06, allocations: 4 kB / 0.5552 GB, free: 428 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.478e-05, allocations: 6.25 kB / 0.5552 GB, free: 420 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.00147/0.001505, allocations: 0.5963 MB / 0.5558 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002426/0.001747, allocations: 31.89 kB / 0.5558 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.402e-05/0.001761, allocations: 0 / 0.5558 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.001781, allocations: 4 kB / 0.5558 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.001788, allocations: 0 / 0.5558 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.002113, allocations: 19.92 kB / 0.5558 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.002159, allocations: 0 / 0.5558 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.002199, allocations: 0 / 0.5558 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.29e-05/0.002232, allocations: 7.938 kB / 0.5558 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.929e-05/0.002262, allocations: 3.984 kB / 0.5558 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.002277, allocations: 0 / 0.5558 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.002374, allocations: 15.98 kB / 0.5558 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.002387, allocations: 0 / 0.5558 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.002405, allocations: 4 kB / 0.5558 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.002514, allocations: 23.89 kB / 0.5559 GB, free: 15.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.002517, allocations: 4 kB / 0.5559 GB, free: 15.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.002519, allocations: 0 / 0.5559 GB, free: 15.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.002524, allocations: 0 / 0.5559 GB, free: 15.7 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.0002854/0.00281, allocations: 332.4 kB / 0.5562 GB, free: 15.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.002847, allocations: 16.73 kB / 0.5562 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.00288, allocations: 4.875 kB / 0.5562 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.618e-05/0.002936, allocations: 104.6 kB / 0.5563 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.002946, allocations: 384 / 0.5563 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.002957, allocations: 384 / 0.5563 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.669e-05/0.003033, allocations: 34.27 kB / 0.5563 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.003044, allocations: 192 / 0.5563 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.003052, allocations: 384 / 0.5563 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.00306, allocations: 384 / 0.5563 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.003078, allocations: 11.94 kB / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.003194, allocations: 108.6 kB / 0.5565 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.257e-05/0.003237, allocations: 31.03 kB / 0.5565 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.003255, allocations: 11.67 kB / 0.5565 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.003294, allocations: 0 / 0.5565 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.003318, allocations: 37.45 kB / 0.5565 GB, free: 14.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.003319, allocations: 7.938 kB / 0.5565 GB, free: 14.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.003456, allocations: 33.7 kB / 0.5566 GB, free: 14.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.003493, allocations: 59.33 kB / 0.5566 GB, free: 14.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.296e-05/0.003536, allocations: 142.2 kB / 0.5568 GB, free: 14.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.003544, allocations: 29.7 kB / 0.5568 GB, free: 14.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.003576, allocations: 126.9 kB / 0.5569 GB, free: 14.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.003606, allocations: 8.234 kB / 0.5569 GB, free: 14.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.003632, allocations: 15.38 kB / 0.5569 GB, free: 14.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.003762, allocations: 0.4883 MB / 0.5574 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.003774, allocations: 0 / 0.5574 GB, free: 13.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.00378, allocations: 4.125 kB / 0.5574 GB, free: 13.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.054e-05/0.00381, allocations: 15.69 kB / 0.5574 GB, free: 13.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.003812, allocations: 0 / 0.5574 GB, free: 13.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.373e-05/0.003866, allocations: 33.69 kB / 0.5575 GB, free: 13.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.003882, allocations: 11.94 kB / 0.5575 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.003888, allocations: 0 / 0.5575 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.003906, allocations: 0 / 0.5575 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.003971, allocations: 4 kB / 0.5575 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.003978, allocations: 0 / 0.5575 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.007e-05/0.003988, allocations: 8.031 kB / 0.5575 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.003998, allocations: 0 / 0.5575 GB, free: 13.84 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 5.638e-05/0.004055, allocations: 152.6 kB / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-06/0.00406, allocations: 4 kB / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.699e-05/0.004147, allocations: 40.69 kB / 0.5577 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.004148, allocations: 0 / 0.5577 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.004152, allocations: 0 / 0.5577 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.004156, allocations: 4 kB / 0.5577 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.714e-05/0.004213, allocations: 116.6 kB / 0.5578 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.004215, allocations: 0 / 0.5578 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.00423, allocations: 4 kB / 0.5578 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.004232, allocations: 4 kB / 0.5578 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.004237, allocations: 0 / 0.5578 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.004238, allocations: 3.938 kB / 0.5578 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.004238, allocations: 0 / 0.5578 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.59e-05/0.004294, allocations: 76.38 kB / 0.5579 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-06/0.004298, allocations: 0 / 0.5579 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-06/0.004306, allocations: 3.938 kB / 0.5579 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-06/0.004311, allocations: 4.031 kB / 0.5579 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.004325, allocations: 4 kB / 0.5579 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.004328, allocations: 0 / 0.5579 GB, free: 13.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.018e-05/0.004358, allocations: 119.2 kB / 0.558 GB, free: 13.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004358, allocations: 0 / 0.558 GB, free: 13.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.004498, allocations: 4 kB / 0.558 GB, free: 13.24 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 0.0001314/0.00463, allocations: 107.2 kB / 0.5581 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.01e-05/0.0047, allocations: 15.62 kB / 0.5581 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.004701, allocations: 64 / 0.5581 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.136e-06/0.004709, allocations: 15.69 kB / 0.5581 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.533e-05/0.004805, allocations: 4 kB / 0.5581 GB, free: 13.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.004993, allocations: 87.94 kB / 0.5582 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.005024, allocations: 55.34 kB / 0.5583 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.014e-05/0.005044, allocations: 0 / 0.5583 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.005069, allocations: 16.56 kB / 0.5583 GB, free: 12.88 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/0.005069, allocations: 0 / 0.5583 GB, free: 12.88 MB / 490.7 MB Notification: Performance of Templates: time 0.001956/0.007026, allocations: 320.2 kB / 0.5586 GB, free: 12.57 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.6971703968010843]