Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.001309/0.001309, allocations: 100.4 kB / 20.45 MB, free: 1.25 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.002083/0.002083, allocations: 207.9 kB / 23.74 MB, free: 4.449 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.564/1.564, allocations: 230.6 MB / 257.5 MB, free: 7.801 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 1.019/1.019, allocations: 149.9 MB / 463.8 MB, free: 10.35 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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") [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: 70.48 kB / 0.6423 GB, free: 9.598 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1837, allocations: 89.17 MB / 0.7294 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001753/0.1854, allocations: 0.5838 MB / 0.73 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1872, allocations: 1.276 MB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.51e-05/0.1872, allocations: 0 / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.1872, allocations: 0 / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-06/0.1872, allocations: 0 / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1876, allocations: 71.75 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.978e-05/0.1876, allocations: 0 / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.1876, allocations: 0 / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.635e-05/0.1877, allocations: 11.88 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.1877, allocations: 4 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.224e-06/0.1877, allocations: 0 / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.188, allocations: 111.8 kB / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.426e-06/0.188, allocations: 0 / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.188, allocations: 3.984 kB / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1882, allocations: 63.88 kB / 0.7315 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1882, allocations: 0 / 0.7315 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1882, allocations: 0 / 0.7315 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1882, allocations: 0 / 0.7315 GB, free: 14.36 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003182/0.1885, allocations: 258.2 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1885, allocations: 8.031 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.292e-05/0.1886, allocations: 4.938 kB / 0.7318 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.772e-05/0.1887, allocations: 106.5 kB / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-06/0.1887, allocations: 384 / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.1887, allocations: 384 / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.312e-05/0.1888, allocations: 42 kB / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1888, allocations: 0 / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-06/0.1888, allocations: 3.938 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1888, allocations: 0 / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.1888, allocations: 3.938 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.1889, allocations: 97.33 kB / 0.732 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.093e-05/0.189, allocations: 22.56 kB / 0.732 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.189, allocations: 12.95 kB / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/0.1893, allocations: 39.95 kB / 0.7321 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1893, allocations: 30.56 kB / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1893, allocations: 0 / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001337/0.1894, allocations: 41.58 kB / 0.7321 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1895, allocations: 51.41 kB / 0.7322 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.574e-05/0.1895, allocations: 93.98 kB / 0.7323 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1895, allocations: 25.7 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.1896, allocations: 80.14 kB / 0.7324 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.1896, allocations: 3.953 kB / 0.7324 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.1896, allocations: 17.72 kB / 0.7324 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1898, allocations: 314.8 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.1898, allocations: 0 / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.1898, allocations: 4 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.53e-05/0.1898, allocations: 4.859 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1898, allocations: 64 / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.269e-05/0.1899, allocations: 41.64 kB / 0.7327 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1899, allocations: 4 kB / 0.7328 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1899, allocations: 0 / 0.7328 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1899, allocations: 7.875 kB / 0.7328 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.467e-05/0.19, allocations: 7.984 kB / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.19, allocations: 0 / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.093e-05/0.19, allocations: 0 / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.19, allocations: 4 kB / 0.7328 GB, free: 12.88 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 7.945e-05/0.1901, allocations: 109.8 kB / 0.7329 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-06/0.1901, allocations: 4.031 kB / 0.7329 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.55e-05/0.1902, allocations: 44.62 kB / 0.7329 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1902, allocations: 3.938 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1902, allocations: 0 / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1902, allocations: 4 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.97e-05/0.1903, allocations: 97.33 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1903, allocations: 3.938 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.1903, allocations: 0 / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1903, allocations: 4 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.1903, allocations: 4.031 kB / 0.733 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1903, allocations: 7.922 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1903, allocations: 0 / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.27e-05/0.1904, allocations: 57.12 kB / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-06/0.1904, allocations: 0 / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.1904, allocations: 4 kB / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.1904, allocations: 3.938 kB / 0.7331 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.1904, allocations: 4 kB / 0.7331 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.1904, allocations: 0 / 0.7331 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.1904, allocations: 75.28 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1904, allocations: 4.031 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001959/0.1906, allocations: 15.92 kB / 0.7332 GB, free: 12.38 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.0001551/0.1908, allocations: 103.2 kB / 0.7333 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.473e-05/0.1908, allocations: 7.984 kB / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1908, allocations: 0 / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.024e-05/0.1909, allocations: 4 kB / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.191, allocations: 1.531 kB / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.1912, allocations: 106.6 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.445e-05/0.1912, allocations: 55.48 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.1912, allocations: 11.44 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1912, allocations: 0 / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.001951/0.1932, allocations: 0.5131 MB / 0.734 GB, free: 11.52 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.053731377236545] Failed to read output from testmodel.py, exit status != 0: 0.20174641022458673 0.216098917 0.024869256000000003 Calling exit ...