Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001249/0.001249, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001437/0.001437, allocations: 194 kB / 22.85 MB, free: 5.652 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.453/1.453, allocations: 225.6 MB / 251.5 MB, free: 13.04 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.002719/0.002719, allocations: 298.2 kB / 307 MB, free: 8.352 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.272/1.272, allocations: 180.8 MB / 0.5304 GB, free: 14.5 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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002908/0.002908, allocations: 102.7 kB / 0.7311 GB, free: 38.58 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1962, allocations: 94.2 MB / 0.8231 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.003104/0.1993, allocations: 1.47 MB / 0.8245 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003794/0.1997, allocations: 92.58 kB / 0.8246 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.1997, allocations: 0 / 0.8246 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.912e-05/0.1998, allocations: 0 / 0.8246 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.1998, allocations: 15.88 kB / 0.8246 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.2001, allocations: 19.92 kB / 0.8246 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.215e-05/0.2002, allocations: 23.97 kB / 0.8246 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.2003, allocations: 4 kB / 0.8246 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.2003, allocations: 7.984 kB / 0.8247 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.2004, allocations: 11.94 kB / 0.8247 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2004, allocations: 4 kB / 0.8247 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.2005, allocations: 27.91 kB / 0.8247 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.2006, allocations: 3.984 kB / 0.8247 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.2006, allocations: 11.94 kB / 0.8247 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.2007, allocations: 43.81 kB / 0.8248 GB, free: 148 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2008, allocations: 4 kB / 0.8248 GB, free: 144 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2008, allocations: 0 / 0.8248 GB, free: 144 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.2008, allocations: 0 / 0.8248 GB, free: 144 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005381/0.2013, allocations: 266.3 kB / 0.825 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2013, allocations: 8.031 kB / 0.825 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.2014, allocations: 4.891 kB / 0.825 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2015, allocations: 106.5 kB / 0.8251 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2015, allocations: 4.312 kB / 0.8251 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.2015, allocations: 12.38 kB / 0.8251 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.2017, allocations: 50.17 kB / 0.8252 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2017, allocations: 192 / 0.8252 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2017, allocations: 7.938 kB / 0.8252 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2018, allocations: 0 / 0.8252 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.2019, allocations: 39.95 kB / 0.8252 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.2023, allocations: 224 kB / 0.8254 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.2025, allocations: 42.44 kB / 0.8255 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.419e-05/0.2026, allocations: 24.91 kB / 0.8255 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.2026, allocations: 7.984 kB / 0.8255 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.2026, allocations: 30.56 kB / 0.8255 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 3.146e-06/0.2026, allocations: 7.938 kB / 0.8256 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003742/0.203, allocations: 89.59 kB / 0.8256 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2031, allocations: 51.41 kB / 0.8257 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2032, allocations: 105.8 kB / 0.8258 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2032, allocations: 25.7 kB / 0.8258 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.2032, allocations: 84.14 kB / 0.8259 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.2033, allocations: 12.02 kB / 0.8259 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.2033, allocations: 17.66 kB / 0.8259 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2035, allocations: 318.8 kB / 0.8262 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.2035, allocations: 15.98 kB / 0.8262 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.199e-05/0.2036, allocations: 20.23 kB / 0.8263 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.2038, allocations: 44.88 kB / 0.8263 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2038, allocations: 4 kB / 0.8263 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002069/0.204, allocations: 73.59 kB / 0.8264 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.204, allocations: 4 kB / 0.8264 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.204, allocations: 0 / 0.8264 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.204, allocations: 0 / 0.8264 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.2041, allocations: 12 kB / 0.8264 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2041, allocations: 3.938 kB / 0.8264 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.2042, allocations: 12.02 kB / 0.8264 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2042, allocations: 0 / 0.8264 GB, free: 14.26 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 (2): * Single equations (assignments): 2 * 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 8.947e-05/0.2043, allocations: 114.4 kB / 0.8265 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.2043, allocations: 3.953 kB / 0.8265 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.2046, allocations: 77.27 kB / 0.8266 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2046, allocations: 3.938 kB / 0.8266 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2046, allocations: 12.02 kB / 0.8266 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2046, allocations: 0 / 0.8266 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.2048, allocations: 132.7 kB / 0.8267 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2048, allocations: 4 kB / 0.8267 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.2048, allocations: 4 kB / 0.8267 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2048, allocations: 0 / 0.8267 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2048, allocations: 0 / 0.8267 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2048, allocations: 0 / 0.8267 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.2048, allocations: 11.92 kB / 0.8268 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.2051, allocations: 167.5 kB / 0.8269 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.2051, allocations: 4 kB / 0.8269 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.2051, allocations: 0 / 0.8269 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.2052, allocations: 8 kB / 0.8269 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.2053, allocations: 3.984 kB / 0.8269 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.2053, allocations: 0 / 0.8269 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.355e-05/0.2053, allocations: 87.31 kB / 0.827 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2053, allocations: 0 / 0.827 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002252/0.2055, allocations: 15.89 kB / 0.827 GB, free: 13.54 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 (2): * Single equations (assignments): 2 * 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.0001556/0.2057, allocations: 107.2 kB / 0.8271 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.2059, allocations: 39.91 kB / 0.8272 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2059, allocations: 0 / 0.8272 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.206, allocations: 28.03 kB / 0.8272 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.2063, allocations: 9.766 kB / 0.8272 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.2067, allocations: 105.7 kB / 0.8273 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.207, allocations: 0.6808 MB / 0.828 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.2071, allocations: 0 / 0.828 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.2071, allocations: 7.438 kB / 0.828 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.2071, allocations: 0 / 0.828 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.003235/0.2103, allocations: 0.5643 MB / 0.8285 GB, free: 11.95 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.116917122009909] Failed to read output from testmodel.py, exit status != 0: 0.21813198900781572 0.23315830799999995 0.029403168 Calling exit ...