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.001242/0.001242, allocations: 78.17 kB / 19.76 MB, free: 2.031 MB / 14.72 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.00128/0.00128, allocations: 163.5 kB / 23.01 MB, free: 4.945 MB / 14.72 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.327/1.327, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 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.002364/0.002364, allocations: 241.4 kB / 260 MB, free: 424 kB / 238.1 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.8874/0.8874, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 95.86 kB / 0.6474 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3668, allocations: 95.35 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.0015/0.3683, allocations: 0.5906 MB / 0.7411 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.3685, allocations: 33.97 kB / 0.7411 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.005e-05/0.3685, allocations: 4 kB / 0.7411 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.3685, allocations: 1.156 kB / 0.7411 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-06/0.3685, allocations: 0 / 0.7411 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3688, allocations: 17.66 kB / 0.7411 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 3.252e-05/0.3688, allocations: 1.094 kB / 0.7411 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.3689, allocations: 2.734 kB / 0.7411 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.156e-05/0.3689, allocations: 1.531 kB / 0.7411 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 2.143e-05/0.3689, allocations: 4.5 kB / 0.7411 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.046e-06/0.3689, allocations: 1.406 kB / 0.7411 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.422e-05/0.369, allocations: 20.83 kB / 0.7412 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.369, allocations: 5.438 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.369, allocations: 0.6562 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 8.162e-05/0.3691, allocations: 16.39 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3691, allocations: 4 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.71e-07/0.3691, allocations: 0 / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3691, allocations: 0 / 0.7412 GB, free: 17.02 MB / 0.5919 GB 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.0002074/0.3693, allocations: 238.6 kB / 0.7414 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.3693, allocations: 11.78 kB / 0.7414 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.3694, allocations: 1.453 kB / 0.7414 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.221e-05/0.3694, allocations: 104.4 kB / 0.7415 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.3694, allocations: 384 / 0.7415 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3694, allocations: 6.516 kB / 0.7415 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.943e-05/0.3695, allocations: 28.72 kB / 0.7416 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3695, allocations: 1.406 kB / 0.7416 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.3695, allocations: 3.938 kB / 0.7416 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.3695, allocations: 3.938 kB / 0.7416 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.3695, allocations: 11.2 kB / 0.7416 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.474e-05/0.3696, allocations: 95.77 kB / 0.7417 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.102e-05/0.3696, allocations: 16.83 kB / 0.7417 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.3696, allocations: 6.5 kB / 0.7417 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3697, allocations: 2.109 kB / 0.7417 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.618e-06/0.3697, allocations: 36.94 kB / 0.7417 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3697, allocations: 0 / 0.7417 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001054/0.3698, allocations: 45.09 kB / 0.7418 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.583e-05/0.3698, allocations: 52.11 kB / 0.7418 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.351e-05/0.3698, allocations: 91.36 kB / 0.7419 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-06/0.3698, allocations: 25.7 kB / 0.7419 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.243e-06/0.3698, allocations: 80.14 kB / 0.742 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3698, allocations: 5.625 kB / 0.742 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.3699, allocations: 11.78 kB / 0.742 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.3699, allocations: 316.9 kB / 0.7423 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.3699, allocations: 5.469 kB / 0.7423 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.3699, allocations: 2.094 kB / 0.7423 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.102e-05/0.3699, allocations: 16.23 kB / 0.7423 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3699, allocations: 0 / 0.7423 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.029e-05/0.37, allocations: 32.8 kB / 0.7424 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.37, allocations: 5.984 kB / 0.7424 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.37, allocations: 0 / 0.7424 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.37, allocations: 1.219 kB / 0.7424 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.51e-05/0.37, allocations: 9.703 kB / 0.7424 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3701, allocations: 6.219 kB / 0.7424 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/0.3701, allocations: 0 / 0.7424 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3701, allocations: 1.625 kB / 0.7424 GB, free: 15.68 MB / 0.5919 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 (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 3.225e-05/0.3701, allocations: 112.1 kB / 0.7425 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-06/0.3701, allocations: 0.6562 kB / 0.7425 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.501e-05/0.3702, allocations: 45.83 kB / 0.7426 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3702, allocations: 4.594 kB / 0.7426 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3702, allocations: 5.562 kB / 0.7426 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.3702, allocations: 0 / 0.7426 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.241e-05/0.3702, allocations: 96.23 kB / 0.7427 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3702, allocations: 0 / 0.7427 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.3702, allocations: 3.219 kB / 0.7427 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.3702, allocations: 0 / 0.7427 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.3703, allocations: 0.75 kB / 0.7427 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.3703, allocations: 0.625 kB / 0.7427 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3703, allocations: 5.188 kB / 0.7427 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.549e-05/0.3703, allocations: 57.89 kB / 0.7427 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-06/0.3703, allocations: 5.906 kB / 0.7427 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.3703, allocations: 17.55 kB / 0.7427 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.3703, allocations: 0 / 0.7427 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.3703, allocations: 5.781 kB / 0.7427 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3703, allocations: 1.594 kB / 0.7427 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.738e-06/0.3704, allocations: 80.34 kB / 0.7428 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.3704, allocations: 0 / 0.7428 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001974/0.3705, allocations: 4.188 kB / 0.7428 GB, free: 15.21 MB / 0.5919 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 (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.839e-05/0.3706, allocations: 102.1 kB / 0.7429 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.079e-05/0.3707, allocations: 9.047 kB / 0.7429 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.3707, allocations: 0 / 0.7429 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-06/0.3707, allocations: 6.766 kB / 0.7429 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.3709, allocations: 3.719 kB / 0.7429 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001319/0.371, allocations: 87.94 kB / 0.743 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.084e-05/0.371, allocations: 56.23 kB / 0.7431 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.907e-05/0.371, allocations: 2.469 kB / 0.7431 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.371, allocations: 12.5 kB / 0.7431 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.371, allocations: 1.625 kB / 0.7431 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.002141/0.3732, allocations: 281.7 kB / 0.7434 GB, free: 14.87 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.354934004950337] Failed to read output from testmodel.py, exit status != 0: 0.3802267760038376 0.39014788 0.018768145 Calling exit ...