Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001618/0.001618, allocations: 105.2 kB / 20.45 MB, free: 1.5 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.001591/0.001591, allocations: 219.2 kB / 23.76 MB, free: 4.711 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.999/0.999, allocations: 150 MB / 463.9 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: IBPSA 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.002099/0.002099, allocations: 70.98 kB / 0.6425 GB, free: 9.836 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2153, allocations: 89.16 MB / 0.7296 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001926/0.2173, allocations: 0.5972 MB / 0.7302 GB, free: 144 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002246/0.2175, allocations: 23.89 kB / 0.7302 GB, free: 120 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.137e-05/0.2175, allocations: 0 / 0.7302 GB, free: 120 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.2175, allocations: 0 / 0.7302 GB, free: 120 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.2175, allocations: 4 kB / 0.7302 GB, free: 116 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.2178, allocations: 19.92 kB / 0.7302 GB, free: 96 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.2178, allocations: 0 / 0.7302 GB, free: 96 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.2179, allocations: 0 / 0.7302 GB, free: 96 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.304e-05/0.2179, allocations: 4 kB / 0.7302 GB, free: 92 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.522e-05/0.2179, allocations: 3.984 kB / 0.7302 GB, free: 88 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.2179, allocations: 0 / 0.7302 GB, free: 88 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.218, allocations: 15.98 kB / 0.7303 GB, free: 72 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.615e-06/0.218, allocations: 0 / 0.7303 GB, free: 72 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.2181, allocations: 3.984 kB / 0.7303 GB, free: 68 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.573e-05/0.2182, allocations: 11.98 kB / 0.7303 GB, free: 56 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2182, allocations: 4 kB / 0.7303 GB, free: 52 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2182, allocations: 4 kB / 0.7303 GB, free: 48 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2182, allocations: 0 / 0.7303 GB, free: 48 kB / 0.545 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.000349/0.2185, allocations: 238.4 kB / 0.7305 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2185, allocations: 11.97 kB / 0.7305 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.2186, allocations: 0.9375 kB / 0.7305 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.259e-05/0.2187, allocations: 102.5 kB / 0.7306 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2187, allocations: 4.375 kB / 0.7306 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.2187, allocations: 384 / 0.7306 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.887e-05/0.2188, allocations: 38.25 kB / 0.7307 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.2188, allocations: 4.125 kB / 0.7307 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2188, allocations: 3.938 kB / 0.7307 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2188, allocations: 4 kB / 0.7307 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.952e-05/0.2188, allocations: 0 / 0.7307 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.219, allocations: 112.8 kB / 0.7308 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.93e-05/0.219, allocations: 30.53 kB / 0.7308 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.2191, allocations: 12.8 kB / 0.7308 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.2191, allocations: 4.062 kB / 0.7308 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.2191, allocations: 34.55 kB / 0.7309 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2191, allocations: 0 / 0.7309 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001378/0.2193, allocations: 33.64 kB / 0.7309 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.2193, allocations: 55.34 kB / 0.7309 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.713e-05/0.2194, allocations: 89.86 kB / 0.731 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.2194, allocations: 29.7 kB / 0.7311 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.2194, allocations: 84.27 kB / 0.7311 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.2195, allocations: 7.953 kB / 0.7311 GB, free: 15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.2195, allocations: 9.719 kB / 0.7312 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2196, allocations: 314.8 kB / 0.7315 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.2197, allocations: 4 kB / 0.7315 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.2197, allocations: 0 / 0.7315 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.2197, allocations: 8.859 kB / 0.7315 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2197, allocations: 4.062 kB / 0.7315 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.049e-05/0.2198, allocations: 33.7 kB / 0.7315 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2198, allocations: 8 kB / 0.7315 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2198, allocations: 3.938 kB / 0.7315 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2198, allocations: 3.938 kB / 0.7315 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.893e-05/0.2198, allocations: 3.984 kB / 0.7315 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2199, allocations: 0 / 0.7315 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.263e-05/0.2199, allocations: 4 kB / 0.7315 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2199, allocations: 0 / 0.7315 GB, free: 14.59 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 9.043e-05/0.22, allocations: 109.9 kB / 0.7316 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-06/0.22, allocations: 0 / 0.7316 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.2201, allocations: 48.62 kB / 0.7317 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2201, allocations: 0 / 0.7317 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2201, allocations: 0 / 0.7317 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2201, allocations: 0 / 0.7317 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.2202, allocations: 120.7 kB / 0.7318 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2202, allocations: 0 / 0.7318 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.2202, allocations: 8.031 kB / 0.7318 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2202, allocations: 0 / 0.7318 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.2202, allocations: 15.86 kB / 0.7318 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2202, allocations: 0 / 0.7318 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2202, allocations: 0 / 0.7318 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.423e-05/0.2203, allocations: 53.14 kB / 0.7319 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.2203, allocations: 4 kB / 0.7319 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.2203, allocations: 7.969 kB / 0.7319 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.286e-05/0.2203, allocations: 3.984 kB / 0.7319 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.2203, allocations: 0 / 0.7319 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.2204, allocations: 3.938 kB / 0.7319 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.2204, allocations: 79.28 kB / 0.732 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2204, allocations: 0 / 0.732 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000192/0.2206, allocations: 0 / 0.732 GB, free: 14.06 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.0001647/0.2207, allocations: 99.23 kB / 0.7321 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.617e-05/0.2208, allocations: 11.94 kB / 0.7321 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2208, allocations: 0 / 0.7321 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.2208, allocations: 7.984 kB / 0.7321 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.221, allocations: 4 kB / 0.7321 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.2212, allocations: 106.6 kB / 0.7322 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.2215, allocations: 0.669 MB / 0.7328 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.2216, allocations: 7.438 kB / 0.7328 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2216, allocations: 4.125 kB / 0.7328 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.00213/0.2237, allocations: 440 kB / 0.7333 GB, free: 12.66 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.248867124086246] Failed to read output from testmodel.py, exit status != 0: 0.2324114479124546 0.24934298800000002 0.027630535 Calling exit ...