Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001282/0.001282, allocations: 121.3 kB / 17.81 MB, free: 5.273 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.001298/0.001298, allocations: 193.4 kB / 20.74 MB, free: 2.344 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.421/1.421, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8241/0.8241, allocations: 128.4 MB / 432.4 MB, free: 13.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.88 kB / 0.5987 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3404, allocations: 83.26 MB / 0.68 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002062/0.3425, allocations: 1.435 MB / 0.6814 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.3427, allocations: 99.61 kB / 0.6815 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.3428, allocations: 0 / 0.6815 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.887e-05/0.3428, allocations: 0 / 0.6815 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.232e-05/0.3428, allocations: 5.219 kB / 0.6815 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.343, allocations: 22.41 kB / 0.6816 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.16e-05/0.3431, allocations: 17.31 kB / 0.6816 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.3432, allocations: 10.67 kB / 0.6816 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.948e-05/0.3432, allocations: 11.72 kB / 0.6816 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.61e-05/0.3433, allocations: 10.73 kB / 0.6816 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3433, allocations: 2.812 kB / 0.6816 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.812e-05/0.3433, allocations: 21.08 kB / 0.6816 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.3434, allocations: 15.91 kB / 0.6816 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.3434, allocations: 10.55 kB / 0.6817 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.3435, allocations: 35.33 kB / 0.6817 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3435, allocations: 0 / 0.6817 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3435, allocations: 0 / 0.6817 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3435, allocations: 4 kB / 0.6817 GB, free: 5.77 MB / 0.4981 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.0003502/0.3439, allocations: 345 kB / 0.682 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.3439, allocations: 9.125 kB / 0.682 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.3439, allocations: 3.531 kB / 0.682 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.344, allocations: 169.5 kB / 0.6822 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.344, allocations: 9.703 kB / 0.6822 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.344, allocations: 384 / 0.6822 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3442, allocations: 51.84 kB / 0.6822 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3442, allocations: 8.172 kB / 0.6823 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.3442, allocations: 3.938 kB / 0.6823 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3442, allocations: 1.094 kB / 0.6823 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.3444, allocations: 33.69 kB / 0.6823 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.3446, allocations: 248.4 kB / 0.6825 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3447, allocations: 53.64 kB / 0.6826 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.3448, allocations: 23.22 kB / 0.6826 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.3448, allocations: 2.312 kB / 0.6826 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.688e-06/0.3448, allocations: 31.69 kB / 0.6826 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3448, allocations: 0 / 0.6826 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003286/0.3452, allocations: 89.48 kB / 0.6827 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.588e-05/0.3452, allocations: 51.41 kB / 0.6828 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.506e-05/0.3452, allocations: 106.5 kB / 0.6829 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.3452, allocations: 25.7 kB / 0.6829 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.3453, allocations: 89.16 kB / 0.683 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.3453, allocations: 16.88 kB / 0.683 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.3453, allocations: 16.86 kB / 0.683 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.343e-05/0.3453, allocations: 320.2 kB / 0.6833 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.171e-05/0.3454, allocations: 14.8 kB / 0.6833 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.3455, allocations: 21.94 kB / 0.6834 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3456, allocations: 38.98 kB / 0.6834 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3456, allocations: 0 / 0.6834 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001839/0.3458, allocations: 87.08 kB / 0.6835 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3458, allocations: 5.906 kB / 0.6835 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3458, allocations: 0 / 0.6835 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3458, allocations: 0 / 0.6835 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.3459, allocations: 14.92 kB / 0.6835 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3459, allocations: 0 / 0.6835 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.346, allocations: 8.109 kB / 0.6835 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.346, allocations: 256 / 0.6835 GB, free: 3.926 MB / 0.4981 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 4.797e-05/0.346, allocations: 116.8 kB / 0.6836 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.346, allocations: 1.125 kB / 0.6836 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.3463, allocations: 78.62 kB / 0.6837 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3463, allocations: 0 / 0.6837 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.3463, allocations: 1.188 kB / 0.6837 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3463, allocations: 0 / 0.6837 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3464, allocations: 164.1 kB / 0.6838 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3464, allocations: 5.156 kB / 0.6839 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.3464, allocations: 10.3 kB / 0.6839 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3464, allocations: 0 / 0.6839 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.3464, allocations: 0 / 0.6839 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3464, allocations: 5.312 kB / 0.6839 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3464, allocations: 0 / 0.6839 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.3466, allocations: 174.6 kB / 0.684 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.3466, allocations: 77.11 kB / 0.6841 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.3466, allocations: 1.25 kB / 0.6841 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.3467, allocations: 7.578 kB / 0.6841 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.3468, allocations: 5.438 kB / 0.6841 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3468, allocations: 1.312 kB / 0.6841 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.44e-05/0.3468, allocations: 84.95 kB / 0.6842 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.3468, allocations: 0 / 0.6842 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000225/0.347, allocations: 15.38 kB / 0.6842 GB, free: 3.184 MB / 0.4981 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.0001003/0.3471, allocations: 101 kB / 0.6843 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.3473, allocations: 43.3 kB / 0.6844 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3473, allocations: 1.219 kB / 0.6844 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.555e-05/0.3474, allocations: 19.92 kB / 0.6844 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.3476, allocations: 9.969 kB / 0.6844 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.3479, allocations: 154.3 kB / 0.6845 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.273e-05/0.348, allocations: 0.6776 MB / 0.6852 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.348, allocations: 8.562 kB / 0.6852 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.348, allocations: 1.094 kB / 0.6852 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of Templates: time 0.001995/0.35, allocations: 0.6657 MB / 0.6859 GB, free: 1.859 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.629856456071138] Failed to read output from testmodel.py, exit status != 0: 0.357326237950474 0.36944454299999996 0.023197116 Calling exit ...