Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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.001825/0.001825, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001464/0.001464, allocations: 211.2 kB / 23.75 MB, free: 4.445 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.9802/0.9802, allocations: 149.9 MB / 463.8 MB, free: 10.34 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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") [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.002142/0.002142, allocations: 68.3 kB / 0.6423 GB, free: 9.629 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1801, allocations: 89.17 MB / 0.7294 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001809/0.1819, allocations: 0.5974 MB / 0.73 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003087/0.1822, allocations: 83.73 kB / 0.7301 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.1822, allocations: 0 / 0.7301 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.1822, allocations: 0 / 0.7301 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.1823, allocations: 4 kB / 0.7301 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1825, allocations: 27.86 kB / 0.7301 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.232e-05/0.1825, allocations: 4 kB / 0.7301 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.1826, allocations: 7.969 kB / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.1826, allocations: 8 kB / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.1827, allocations: 0 / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1827, allocations: 7.938 kB / 0.7301 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.885e-05/0.1827, allocations: 7.984 kB / 0.7301 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.1828, allocations: 4 kB / 0.7301 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.1828, allocations: 4 kB / 0.7301 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.482e-05/0.1829, allocations: 11.97 kB / 0.7302 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1829, allocations: 4 kB / 0.7302 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1829, allocations: 0 / 0.7302 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.1829, allocations: 4 kB / 0.7302 GB, free: 15.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003648/0.1832, allocations: 242.4 kB / 0.7304 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1833, allocations: 12.03 kB / 0.7304 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.1834, allocations: 8.922 kB / 0.7304 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/0.1835, allocations: 102.5 kB / 0.7305 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1835, allocations: 384 / 0.7305 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1835, allocations: 8.312 kB / 0.7305 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1837, allocations: 46.19 kB / 0.7306 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1837, allocations: 4.172 kB / 0.7306 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1837, allocations: 7.922 kB / 0.7306 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1837, allocations: 0 / 0.7306 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.948e-05/0.1838, allocations: 15.98 kB / 0.7306 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.1839, allocations: 105.3 kB / 0.7307 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.1841, allocations: 34.61 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.091e-05/0.1842, allocations: 16.91 kB / 0.7307 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.1842, allocations: 8 kB / 0.7308 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.1842, allocations: 34.5 kB / 0.7308 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1842, allocations: 0 / 0.7308 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002128/0.1844, allocations: 61.56 kB / 0.7308 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1845, allocations: 51.41 kB / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.789e-05/0.1845, allocations: 93.86 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1845, allocations: 25.7 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.1846, allocations: 84.14 kB / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1846, allocations: 3.953 kB / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.1846, allocations: 21.7 kB / 0.7311 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.1848, allocations: 314.8 kB / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.1848, allocations: 4 kB / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.1849, allocations: 7.984 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/0.1849, allocations: 24.78 kB / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.185, allocations: 0 / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001081/0.1851, allocations: 49.62 kB / 0.7315 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1851, allocations: 8 kB / 0.7315 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1851, allocations: 0 / 0.7315 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1851, allocations: 4 kB / 0.7315 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.1855, allocations: 47.86 kB / 0.7316 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.1869, allocations: 1.274 MB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.1869, allocations: 8.031 kB / 0.7328 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1869, allocations: 3.984 kB / 0.7328 GB, free: 12.77 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.895e-05/0.187, allocations: 113.8 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.187, allocations: 4.125 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.458e-05/0.1871, allocations: 7.516 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1871, allocations: 0 / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.1871, allocations: 3.938 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1871, allocations: 0 / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.869e-05/0.1872, allocations: 101.3 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1872, allocations: 3.938 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.1875, allocations: 55.86 kB / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1875, allocations: 0 / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1875, allocations: 0 / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.1888, allocations: 1.279 MB / 0.7343 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1888, allocations: 0 / 0.7343 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.189, allocations: 85.02 kB / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.189, allocations: 3.953 kB / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-06/0.189, allocations: 0 / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.189, allocations: 0 / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.189, allocations: 7.984 kB / 0.7344 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.189, allocations: 4.094 kB / 0.7344 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.1891, allocations: 79.22 kB / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1891, allocations: 0 / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001941/0.1893, allocations: 4 kB / 0.7345 GB, free: 10.87 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001223/0.1894, allocations: 100.1 kB / 0.7346 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.1899, allocations: 63.84 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.1899, allocations: 0 / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.1903, allocations: 55.92 kB / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1904, allocations: 4 kB / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.1907, allocations: 122.5 kB / 0.7348 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.334e-05/0.1908, allocations: 59.34 kB / 0.7349 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.1908, allocations: 11.38 kB / 0.7349 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1908, allocations: 0 / 0.7349 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.002327/0.1931, allocations: 0.6009 MB / 0.7355 GB, free: 9.797 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.390255856327713] Failed to read output from testmodel.py, exit status != 0: 0.20228604087606072 0.21661453400000003 0.030661027 Calling exit ...