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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 189.7 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002454/0.002454, allocations: 295.6 kB / 306.5 MB, free: 8.336 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.153/1.153, allocations: 180.9 MB / 0.53 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002681/0.002681, allocations: 96.73 kB / 0.7309 GB, free: 38.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1527, allocations: 94.2 MB / 0.8229 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.00173/0.1545, allocations: 0.5915 MB / 0.8234 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002373/0.1547, allocations: 43.88 kB / 0.8235 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.306e-05/0.1547, allocations: 0 / 0.8235 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.1547, allocations: 0 / 0.8235 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.1547, allocations: 4 kB / 0.8235 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.155, allocations: 15.92 kB / 0.8235 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.151e-05/0.1551, allocations: 4 kB / 0.8235 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.1551, allocations: 0 / 0.8235 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.177e-05/0.1551, allocations: 0 / 0.8235 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.721e-05/0.1552, allocations: 7.922 kB / 0.8235 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1552, allocations: 4 kB / 0.8235 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-05/0.1553, allocations: 15.98 kB / 0.8235 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.924e-06/0.1553, allocations: 4 kB / 0.8235 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.1553, allocations: 7.969 kB / 0.8235 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.498e-05/0.1554, allocations: 11.98 kB / 0.8236 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1554, allocations: 4 kB / 0.8236 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1554, allocations: 3.938 kB / 0.8236 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1554, allocations: 0 / 0.8236 GB, free: 1.078 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.0003089/0.1557, allocations: 242.8 kB / 0.8238 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1557, allocations: 8.031 kB / 0.8238 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.1558, allocations: 0.9375 kB / 0.8238 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.719e-05/0.1558, allocations: 106.5 kB / 0.8239 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.1558, allocations: 384 / 0.8239 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.1558, allocations: 384 / 0.8239 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.746e-05/0.1559, allocations: 30.27 kB / 0.8239 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.1559, allocations: 192 / 0.8239 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1559, allocations: 7.938 kB / 0.8239 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1559, allocations: 0 / 0.8239 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.156, allocations: 3.938 kB / 0.8239 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.1561, allocations: 124.8 kB / 0.8241 GB, free: 472 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.728e-05/0.1561, allocations: 22.52 kB / 0.8241 GB, free: 440 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.1562, allocations: 8.859 kB / 0.8241 GB, free: 428 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.1562, allocations: 4.062 kB / 0.8241 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1562, allocations: 30.56 kB / 0.8241 GB, free: 384 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1562, allocations: 0 / 0.8241 GB, free: 384 kB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.1564, allocations: 49.5 kB / 0.8242 GB, free: 328 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.1564, allocations: 55.41 kB / 0.8242 GB, free: 260 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.338e-05/0.1564, allocations: 89.86 kB / 0.8243 GB, free: 160 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1564, allocations: 25.7 kB / 0.8243 GB, free: 128 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.1565, allocations: 84.27 kB / 0.8244 GB, free: 40 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1565, allocations: 3.953 kB / 0.8244 GB, free: 36 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.1565, allocations: 9.719 kB / 0.8244 GB, free: 20 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1567, allocations: 314.8 kB / 0.8247 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.1567, allocations: 4 kB / 0.8247 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-06/0.1567, allocations: 0 / 0.8247 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.1567, allocations: 12.84 kB / 0.8247 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1567, allocations: 4.062 kB / 0.8248 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.263e-05/0.1568, allocations: 33.64 kB / 0.8248 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.1568, allocations: 8 kB / 0.8248 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1568, allocations: 0 / 0.8248 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1568, allocations: 3.938 kB / 0.8248 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.1569, allocations: 4 kB / 0.8248 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1569, allocations: 3.984 kB / 0.8248 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.1569, allocations: 4 kB / 0.8248 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1569, allocations: 0 / 0.8248 GB, free: 15.62 MB / 0.5762 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.389e-05/0.157, allocations: 114.5 kB / 0.8249 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.157, allocations: 8 kB / 0.8249 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.35e-05/0.1571, allocations: 36.64 kB / 0.825 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1571, allocations: 3.984 kB / 0.825 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.1571, allocations: 0 / 0.825 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1571, allocations: 3.984 kB / 0.825 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.1572, allocations: 116.8 kB / 0.8251 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1572, allocations: 4.031 kB / 0.8251 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.1572, allocations: 3.938 kB / 0.8251 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1572, allocations: 4 kB / 0.8251 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1572, allocations: 3.938 kB / 0.8251 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1572, allocations: 0 / 0.8251 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1572, allocations: 0 / 0.8251 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.179e-05/0.1573, allocations: 61.12 kB / 0.8251 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-06/0.1573, allocations: 0 / 0.8251 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1573, allocations: 11.91 kB / 0.8252 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.008e-05/0.1573, allocations: 3.938 kB / 0.8252 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.1573, allocations: 0 / 0.8252 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1573, allocations: 4 kB / 0.8252 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.1574, allocations: 79.28 kB / 0.8252 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1574, allocations: 0 / 0.8252 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001808/0.1576, allocations: 11.92 kB / 0.8253 GB, free: 15.08 MB / 0.5762 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.0001414/0.1577, allocations: 95.25 kB / 0.8253 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.1578, allocations: 11.94 kB / 0.8254 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1578, allocations: 0 / 0.8254 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/0.1578, allocations: 4 kB / 0.8254 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.1579, allocations: 4.234 kB / 0.8254 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.1582, allocations: 88.98 kB / 0.8255 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1584, allocations: 0.669 MB / 0.8261 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.364e-05/0.1585, allocations: 8.125 kB / 0.8261 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.1585, allocations: 7.438 kB / 0.8261 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1585, allocations: 0 / 0.8261 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of Templates: time 0.002419/0.1609, allocations: 298.1 kB / 0.8264 GB, free: 13.84 MB / 0.5762 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.576772529631853] Failed to read output from testmodel.py, exit status != 0: 0.16741239745169878 0.18200905 0.023720552000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1b38e117b0>