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.001386/0.001386, allocations: 109.2 kB / 20.45 MB, free: 1.52 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.001581/0.001581, allocations: 215.9 kB / 23.76 MB, free: 4.746 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.9507/0.9507, 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.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.002227/0.002227, allocations: 70.3 kB / 0.6425 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1764, allocations: 89.17 MB / 0.7296 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002031/0.1784, allocations: 0.5824 MB / 0.7302 GB, free: 180 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1805, allocations: 1.342 MB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.781e-05/0.1805, allocations: 0 / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.1805, allocations: 0 / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-06/0.1805, allocations: 0 / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.1809, allocations: 79.69 kB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.141e-05/0.181, allocations: 3.938 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.181, allocations: 0 / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.571e-05/0.1811, allocations: 4 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.1811, allocations: 0 / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.1811, allocations: 0 / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.1814, allocations: 115.9 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.1814, allocations: 3.984 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.1815, allocations: 0 / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1816, allocations: 59.88 kB / 0.7317 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1816, allocations: 4 kB / 0.7317 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1816, allocations: 0 / 0.7317 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1816, allocations: 0 / 0.7317 GB, free: 14.55 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.0003482/0.182, allocations: 262.2 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.182, allocations: 8.031 kB / 0.732 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.182, allocations: 8.812 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/0.1821, allocations: 110.5 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1822, allocations: 4.375 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.1822, allocations: 384 / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.1823, allocations: 34.02 kB / 0.7322 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1823, allocations: 4 kB / 0.7322 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.1823, allocations: 0 / 0.7322 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1823, allocations: 0 / 0.7322 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.1823, allocations: 0 / 0.7322 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.1825, allocations: 120.8 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.849e-05/0.1825, allocations: 22.5 kB / 0.7323 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.1825, allocations: 4.859 kB / 0.7323 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/0.1828, allocations: 43.97 kB / 0.7323 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.1829, allocations: 38.5 kB / 0.7324 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1829, allocations: 0 / 0.7324 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.183, allocations: 33.7 kB / 0.7324 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1831, allocations: 59.33 kB / 0.7325 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.652e-05/0.1831, allocations: 93.98 kB / 0.7326 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1831, allocations: 25.7 kB / 0.7326 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.1832, allocations: 80.14 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1832, allocations: 7.953 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.1832, allocations: 9.719 kB / 0.7327 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1834, allocations: 310.8 kB / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.1834, allocations: 8 kB / 0.733 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.1834, allocations: 0 / 0.733 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/0.1834, allocations: 12.92 kB / 0.733 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1834, allocations: 0 / 0.733 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.509e-05/0.1835, allocations: 33.69 kB / 0.733 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1835, allocations: 7.938 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1835, allocations: 0 / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1835, allocations: 7.938 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-05/0.1836, allocations: 0 / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1836, allocations: 3.984 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.1836, allocations: 0 / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1836, allocations: 4.031 kB / 0.733 GB, free: 13.04 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.833e-05/0.1837, allocations: 111.8 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.1837, allocations: 15.86 kB / 0.7332 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.897e-05/0.1838, allocations: 36.69 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1838, allocations: 0 / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1838, allocations: 0 / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1838, allocations: 4 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.585e-05/0.1839, allocations: 116.8 kB / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1839, allocations: 3.984 kB / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.1839, allocations: 4 kB / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1839, allocations: 3.938 kB / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1839, allocations: 0 / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1839, allocations: 7.938 kB / 0.7333 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1839, allocations: 0 / 0.7333 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.354e-05/0.184, allocations: 57.14 kB / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.184, allocations: 8.016 kB / 0.7334 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.184, allocations: 3.938 kB / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-06/0.184, allocations: 0 / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.1841, allocations: 0 / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1841, allocations: 4 kB / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.1841, allocations: 79.22 kB / 0.7335 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1841, allocations: 0 / 0.7335 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002048/0.1843, allocations: 8 kB / 0.7335 GB, free: 12.5 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.0001906/0.1845, allocations: 123.1 kB / 0.7336 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.385e-05/0.1846, allocations: 7.938 kB / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1846, allocations: 0 / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.312e-06/0.1846, allocations: 0 / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.1847, allocations: 6.188 kB / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.1849, allocations: 106.6 kB / 0.7337 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1852, allocations: 0.6729 MB / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.1853, allocations: 7.438 kB / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.1853, allocations: 4.125 kB / 0.7344 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.002129/0.1874, allocations: 0.5062 MB / 0.7349 GB, free: 11.01 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.09868046385236] Failed to read output from testmodel.py, exit status != 0: 0.19653491489589214 0.211312406 0.026549988 Calling exit ...