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.001467/0.001467, allocations: 79.75 kB / 19.93 MB, free: 1.766 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.001614/0.001614, allocations: 169.3 kB / 23.22 MB, free: 4.879 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.398/1.398, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.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.8955/0.8955, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 0.5547 GB, free: 2.578 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.22e-05, allocations: 3.094 kB / 0.5547 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001513/0.001535, allocations: 0.581 MB / 0.5553 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002063/0.001741, allocations: 24.31 kB / 0.5553 GB, free: 1.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.143e-05/0.001752, allocations: 4 kB / 0.5553 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.001764, allocations: 0 / 0.5553 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.00177, allocations: 0 / 0.5553 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.002057, allocations: 15.86 kB / 0.5553 GB, free: 1.961 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 4.934e-05/0.002106, allocations: 11.98 kB / 0.5554 GB, free: 1.949 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.002152, allocations: 0 / 0.5554 GB, free: 1.949 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.883e-05/0.002181, allocations: 3.938 kB / 0.5554 GB, free: 1.945 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.207e-05/0.002203, allocations: 4 kB / 0.5554 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.002217, allocations: 0 / 0.5554 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.002297, allocations: 15.98 kB / 0.5554 GB, free: 1.926 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.002308, allocations: 7.984 kB / 0.5554 GB, free: 1.918 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.002323, allocations: 0 / 0.5554 GB, free: 1.918 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 9.142e-05/0.002414, allocations: 11.98 kB / 0.5554 GB, free: 1.906 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002416, allocations: 0 / 0.5554 GB, free: 1.906 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.002417, allocations: 0 / 0.5554 GB, free: 1.906 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.002421, allocations: 0 / 0.5554 GB, free: 1.906 MB / 462.1 MB 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.0003439/0.002765, allocations: 242.4 kB / 0.5556 GB, free: 1.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.002804, allocations: 8.625 kB / 0.5556 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.002835, allocations: 0.9375 kB / 0.5556 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.002945, allocations: 105.8 kB / 0.5557 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.002962, allocations: 4.375 kB / 0.5557 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.00297, allocations: 4.375 kB / 0.5557 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.003077, allocations: 34.19 kB / 0.5558 GB, free: 1.453 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.003086, allocations: 192 / 0.5558 GB, free: 1.453 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.003095, allocations: 384 / 0.5558 GB, free: 1.453 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.003105, allocations: 4.375 kB / 0.5558 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.003127, allocations: 7.875 kB / 0.5558 GB, free: 1.441 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.003252, allocations: 93.33 kB / 0.5559 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.751e-05/0.00331, allocations: 22.61 kB / 0.5559 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.003327, allocations: 4.859 kB / 0.5559 GB, free: 1.281 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.003368, allocations: 4.062 kB / 0.5559 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.003397, allocations: 34.56 kB / 0.5559 GB, free: 1.234 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.003398, allocations: 3.938 kB / 0.5559 GB, free: 1.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.003546, allocations: 37.69 kB / 0.556 GB, free: 1.188 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.003587, allocations: 51.41 kB / 0.556 GB, free: 1.125 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/0.003639, allocations: 89.86 kB / 0.5561 GB, free: 1.027 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.003656, allocations: 29.64 kB / 0.5561 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.003687, allocations: 80.14 kB / 0.5562 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.003717, allocations: 4 kB / 0.5562 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.003746, allocations: 13.72 kB / 0.5562 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.003888, allocations: 314.9 kB / 0.5565 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.003897, allocations: 4 kB / 0.5565 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.003906, allocations: 7.984 kB / 0.5565 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.003949, allocations: 8.797 kB / 0.5566 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00395, allocations: 4 kB / 0.5566 GB, free: 0.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.655e-05/0.004007, allocations: 33.7 kB / 0.5566 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.00402, allocations: 4 kB / 0.5566 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004024, allocations: 0 / 0.5566 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.004041, allocations: 0 / 0.5566 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.756e-05/0.004088, allocations: 4 kB / 0.5566 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.004093, allocations: 4.094 kB / 0.5566 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.555e-05/0.004108, allocations: 7.922 kB / 0.5566 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.004121, allocations: 4 kB / 0.5566 GB, free: 492 kB / 462.1 MB 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.586e-05/0.004196, allocations: 110.9 kB / 0.5567 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.004203, allocations: 0 / 0.5567 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.004314, allocations: 52.61 kB / 0.5568 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.004316, allocations: 0 / 0.5568 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.004319, allocations: 4.031 kB / 0.5568 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.004322, allocations: 0 / 0.5568 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.408e-05/0.004396, allocations: 101.3 kB / 0.5569 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.004396, allocations: 0 / 0.5569 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.004412, allocations: 4 kB / 0.5569 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.004413, allocations: 0 / 0.5569 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.004418, allocations: 0 / 0.5569 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.004419, allocations: 0 / 0.5569 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.00442, allocations: 0 / 0.5569 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.26e-05/0.004492, allocations: 61.06 kB / 0.5569 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.0045, allocations: 7.938 kB / 0.5569 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.004511, allocations: 11.97 kB / 0.557 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.004521, allocations: 0 / 0.557 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.004531, allocations: 0 / 0.557 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.004535, allocations: 0 / 0.557 GB, free: 72 kB / 462.1 MB Notification: Performance of sorting global known variables: time 4.737e-05/0.004582, allocations: 87.2 kB / 0.557 GB, free: 15.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.004582, allocations: 0 / 0.557 GB, free: 15.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001778/0.00476, allocations: 0 / 0.557 GB, free: 15.98 MB / 478.1 MB 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.0001525/0.004912, allocations: 99.19 kB / 0.5571 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 6.14e-05/0.004974, allocations: 4 kB / 0.5571 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.004975, allocations: 4.062 kB / 0.5571 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 8.917e-06/0.004984, allocations: 4 kB / 0.5571 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.005103, allocations: 0 / 0.5571 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.005308, allocations: 88.92 kB / 0.5572 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.005351, allocations: 55.36 kB / 0.5573 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.053e-05/0.005372, allocations: 4 kB / 0.5573 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.005392, allocations: 12.56 kB / 0.5573 GB, free: 15.66 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.005393, allocations: 0 / 0.5573 GB, free: 15.66 MB / 478.1 MB Notification: Performance of Templates: time 0.00228/0.007672, allocations: 280.8 kB / 0.5576 GB, free: 15.39 MB / 478.1 MB " [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: 5.0637504905462265] Failed to read output from testmodel.py, exit status != 0: 0.015150055289268494 0.030061866000000003 0.024611793 Calling exit ...