Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001318/0.001318, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001481/0.001481, allocations: 214.6 kB / 23.01 MB, free: 5.109 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002563/0.002563, allocations: 280.6 kB / 313.5 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.187/1.187, allocations: 180.6 MB / 0.5377 GB, free: 13.09 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002843/0.002843, allocations: 101 kB / 0.7409 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1751, allocations: 95.37 MB / 0.834 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00188/0.177, allocations: 0.5921 MB / 0.8346 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1789, allocations: 1.348 MB / 0.8359 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.1789, allocations: 7.938 kB / 0.8359 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.1789, allocations: 0 / 0.8359 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.991e-06/0.1789, allocations: 0 / 0.8359 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.1793, allocations: 71.75 kB / 0.836 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.396e-05/0.1793, allocations: 4 kB / 0.836 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.1794, allocations: 0 / 0.836 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.354e-05/0.1794, allocations: 3.938 kB / 0.836 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.1794, allocations: 0 / 0.836 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1794, allocations: 4 kB / 0.836 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.1797, allocations: 111.9 kB / 0.8361 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.1797, allocations: 7.984 kB / 0.8361 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.476e-05/0.1798, allocations: 0 / 0.8361 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.1799, allocations: 59.88 kB / 0.8361 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1799, allocations: 3.938 kB / 0.8361 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1799, allocations: 0 / 0.8361 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1799, allocations: 4 kB / 0.8362 GB, free: 5.879 MB / 0.5762 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.0003119/0.1802, allocations: 254.2 kB / 0.8364 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1803, allocations: 13.94 kB / 0.8364 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.1803, allocations: 0.9375 kB / 0.8364 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.33e-05/0.1804, allocations: 114.5 kB / 0.8365 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1804, allocations: 384 / 0.8365 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.1804, allocations: 384 / 0.8365 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.778e-05/0.1805, allocations: 38 kB / 0.8366 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1805, allocations: 3.938 kB / 0.8366 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1805, allocations: 0 / 0.8366 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1805, allocations: 0 / 0.8366 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.1805, allocations: 4 kB / 0.8366 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.1806, allocations: 116.8 kB / 0.8367 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.191e-05/0.1807, allocations: 26.59 kB / 0.8367 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.1807, allocations: 8.859 kB / 0.8367 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.181, allocations: 35.97 kB / 0.8367 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.181, allocations: 34.5 kB / 0.8368 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 2.775e-06/0.1811, allocations: 4 kB / 0.8368 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.1812, allocations: 37.64 kB / 0.8368 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1812, allocations: 51.41 kB / 0.8369 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.556e-05/0.1813, allocations: 97.84 kB / 0.837 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1813, allocations: 25.7 kB / 0.837 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.1813, allocations: 80.14 kB / 0.8371 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.1813, allocations: 0 / 0.8371 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1814, allocations: 17.72 kB / 0.8371 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1815, allocations: 318.9 kB / 0.8374 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.1815, allocations: 0 / 0.8374 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.1815, allocations: 0 / 0.8374 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.1815, allocations: 8.859 kB / 0.8374 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1815, allocations: 0 / 0.8374 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.11e-05/0.1816, allocations: 45.62 kB / 0.8374 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1816, allocations: 7.938 kB / 0.8374 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1816, allocations: 0 / 0.8374 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1816, allocations: 0 / 0.8374 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.049e-05/0.1817, allocations: 8.094 kB / 0.8374 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1817, allocations: 0 / 0.8374 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.1817, allocations: 0 / 0.8374 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.1817, allocations: 0 / 0.8374 GB, free: 4.371 MB / 0.5762 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 6.953e-05/0.1818, allocations: 106.5 kB / 0.8375 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-06/0.1818, allocations: 3.938 kB / 0.8375 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.1819, allocations: 48.69 kB / 0.8376 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1819, allocations: 0 / 0.8376 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1819, allocations: 0 / 0.8376 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1819, allocations: 0 / 0.8376 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.942e-05/0.182, allocations: 120.7 kB / 0.8377 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.182, allocations: 3.938 kB / 0.8377 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.182, allocations: 3.984 kB / 0.8377 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.182, allocations: 3.938 kB / 0.8377 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.182, allocations: 0 / 0.8377 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.182, allocations: 4 kB / 0.8377 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.182, allocations: 4 kB / 0.8377 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.811e-05/0.1821, allocations: 57.17 kB / 0.8378 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.466e-06/0.1821, allocations: 0 / 0.8378 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1821, allocations: 11.92 kB / 0.8378 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-06/0.1821, allocations: 0 / 0.8378 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.1821, allocations: 0 / 0.8378 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1821, allocations: 0 / 0.8378 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.1821, allocations: 75.28 kB / 0.8379 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1821, allocations: 4.031 kB / 0.8379 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002089/0.1823, allocations: 11.94 kB / 0.8379 GB, free: 3.844 MB / 0.5762 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.000163/0.1825, allocations: 113.5 kB / 0.838 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.583e-05/0.1826, allocations: 11.94 kB / 0.838 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1826, allocations: 0 / 0.838 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.362e-06/0.1826, allocations: 0 / 0.838 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.1827, allocations: 6.578 kB / 0.838 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.1829, allocations: 106.8 kB / 0.8381 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1832, allocations: 0.6728 MB / 0.8388 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.1832, allocations: 11.44 kB / 0.8388 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1832, allocations: 0 / 0.8388 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of Templates: time 0.001962/0.1852, allocations: 0.5096 MB / 0.8393 GB, free: 2.352 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.993406204972416] Failed to read output from testmodel.py, exit status != 0: 0.19237340008839965 0.206786287 0.024047575 Calling exit ...