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.001379/0.001379, allocations: 79.28 kB / 19.18 MB, free: 2.52 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.001576/0.001576, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.445/1.445, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.002426/0.002426, allocations: 237.2 kB / 259.4 MB, free: 464 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 1.087/1.087, allocations: 138.4 MB / 454.3 MB, free: 2.035 MB / 366.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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.6468 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/2.972e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001532/0.001561, allocations: 0.5996 MB / 0.6474 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000217/0.001778, allocations: 35.88 kB / 0.6475 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.163e-05/0.00179, allocations: 0 / 0.6475 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.001802, allocations: 0 / 0.6475 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.001807, allocations: 0 / 0.6475 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.002098, allocations: 15.98 kB / 0.6475 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.991e-05/0.002138, allocations: 4 kB / 0.6475 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.002174, allocations: 3.984 kB / 0.6475 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.883e-05/0.002203, allocations: 3.938 kB / 0.6475 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.554e-05/0.002229, allocations: 4 kB / 0.6475 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.002241, allocations: 0 / 0.6475 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.002338, allocations: 23.91 kB / 0.6475 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-06/0.002347, allocations: 0 / 0.6475 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.002371, allocations: 0 / 0.6475 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.002474, allocations: 23.91 kB / 0.6475 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002476, allocations: 4 kB / 0.6475 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002477, allocations: 0 / 0.6475 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.00248, allocations: 0 / 0.6475 GB, free: 4.277 MB / 0.5606 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.0003018/0.002782, allocations: 234.5 kB / 0.6478 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.002817, allocations: 9.344 kB / 0.6478 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.00285, allocations: 4.938 kB / 0.6478 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.494e-05/0.002935, allocations: 105.8 kB / 0.6479 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.002946, allocations: 384 / 0.6479 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.002954, allocations: 384 / 0.6479 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.557e-05/0.00304, allocations: 30.27 kB / 0.6479 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.003047, allocations: 4.188 kB / 0.6479 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.003057, allocations: 4.359 kB / 0.6479 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.003061, allocations: 384 / 0.6479 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.003083, allocations: 7.875 kB / 0.6479 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.003199, allocations: 97.33 kB / 0.648 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.035e-05/0.003249, allocations: 18.56 kB / 0.648 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.003269, allocations: 16.89 kB / 0.6481 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.003302, allocations: 0 / 0.6481 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.003331, allocations: 34.56 kB / 0.6481 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.003332, allocations: 0 / 0.6481 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.003464, allocations: 45.56 kB / 0.6481 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.003506, allocations: 51.41 kB / 0.6482 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.689e-05/0.003553, allocations: 89.86 kB / 0.6483 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.003568, allocations: 25.7 kB / 0.6483 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.003603, allocations: 80.14 kB / 0.6484 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.003626, allocations: 4 kB / 0.6484 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.003656, allocations: 13.72 kB / 0.6484 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.003796, allocations: 314.8 kB / 0.6487 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.003806, allocations: 4 kB / 0.6487 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.003811, allocations: 0 / 0.6487 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.003844, allocations: 17.03 kB / 0.6487 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.003847, allocations: 4 kB / 0.6487 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.688e-05/0.003904, allocations: 33.64 kB / 0.6487 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.003917, allocations: 8 kB / 0.6487 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.003921, allocations: 0 / 0.6487 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.003933, allocations: 0 / 0.6487 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.003984, allocations: 0 / 0.6487 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.003991, allocations: 4 kB / 0.6487 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.004008, allocations: 7.938 kB / 0.6488 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.004019, allocations: 0 / 0.6488 GB, free: 2.859 MB / 0.5606 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 7.345e-05/0.004093, allocations: 113.9 kB / 0.6489 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.004103, allocations: 4 kB / 0.6489 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.004205, allocations: 36.64 kB / 0.6489 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.004206, allocations: 0 / 0.6489 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.004211, allocations: 3.984 kB / 0.6489 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.004213, allocations: 0 / 0.6489 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.869e-05/0.004292, allocations: 109.2 kB / 0.649 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.004293, allocations: 0 / 0.649 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.004309, allocations: 4.031 kB / 0.649 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.004314, allocations: 4 kB / 0.649 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.004319, allocations: 0 / 0.649 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.00432, allocations: 0 / 0.649 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.00432, allocations: 0 / 0.649 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.21e-05/0.004403, allocations: 66.31 kB / 0.6491 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-06/0.004406, allocations: 0 / 0.6491 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.004415, allocations: 0 / 0.6491 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.004426, allocations: 3.938 kB / 0.6491 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.004438, allocations: 4 kB / 0.6491 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.004442, allocations: 7.969 kB / 0.6491 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.004476, allocations: 83.22 kB / 0.6492 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.004476, allocations: 0 / 0.6492 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001899/0.004666, allocations: 4 kB / 0.6492 GB, free: 2.359 MB / 0.5606 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 0.0001564/0.004823, allocations: 107.2 kB / 0.6493 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.184e-05/0.004884, allocations: 4 kB / 0.6493 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.004886, allocations: 0 / 0.6493 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-06/0.004893, allocations: 0 / 0.6493 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.005022, allocations: 6.781 kB / 0.6493 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001959/0.005218, allocations: 88.84 kB / 0.6494 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.005264, allocations: 55.36 kB / 0.6494 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.005288, allocations: 4 kB / 0.6494 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.00531, allocations: 8.5 kB / 0.6494 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.00531, allocations: 0 / 0.6494 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of Templates: time 0.002679/0.00799, allocations: 304.6 kB / 0.6497 GB, free: 1.738 MB / 0.5606 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.757293678820133] Failed to read output from testmodel.py, exit status != 0: 0.01679610088467598 0.284045578 0.279199699 Calling exit ...