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.001257/0.001257, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001376/0.001376, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.00247/0.00247, allocations: 302.7 kB / 313.5 MB, free: 2.711 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.211/1.211, allocations: 180.6 MB / 0.5377 GB, free: 14.41 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",version="2.0",platforms={"static"}) [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.00274/0.00274, allocations: 94.14 kB / 0.7403 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.182, allocations: 95.38 MB / 0.8334 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002464/0.1844, allocations: 0.598 MB / 0.834 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.1868, allocations: 1.282 MB / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.1868, allocations: 0 / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.1868, allocations: 4 kB / 0.8353 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.867e-06/0.1869, allocations: 0 / 0.8353 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.1874, allocations: 71.69 kB / 0.8354 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.1875, allocations: 4 kB / 0.8354 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.1875, allocations: 0 / 0.8354 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.1875, allocations: 4 kB / 0.8354 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.1876, allocations: 0 / 0.8354 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.1876, allocations: 0 / 0.8354 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.188, allocations: 115.9 kB / 0.8355 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.1881, allocations: 4 kB / 0.8355 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.1881, allocations: 0 / 0.8355 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1883, allocations: 64.14 kB / 0.8355 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1883, allocations: 0 / 0.8355 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.395e-06/0.1883, allocations: 0 / 0.8355 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.1883, allocations: 3.938 kB / 0.8355 GB, free: 6.109 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.0005045/0.1888, allocations: 258.2 kB / 0.8358 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/0.1889, allocations: 9.344 kB / 0.8358 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.425e-05/0.1889, allocations: 192 / 0.8358 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.189, allocations: 38.75 kB / 0.8358 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.189, allocations: 0.9375 kB / 0.8358 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1891, allocations: 114.5 kB / 0.8359 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1891, allocations: 384 / 0.8359 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.1891, allocations: 384 / 0.8359 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1893, allocations: 33.64 kB / 0.836 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1893, allocations: 0 / 0.836 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1893, allocations: 0 / 0.836 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1893, allocations: 0 / 0.836 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.1893, allocations: 0 / 0.836 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.1896, allocations: 120.8 kB / 0.8361 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.523e-05/0.1896, allocations: 26.53 kB / 0.8361 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.1897, allocations: 8.859 kB / 0.8361 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003875/0.19, allocations: 39.97 kB / 0.8362 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.1901, allocations: 34.5 kB / 0.8362 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.1901, allocations: 4 kB / 0.8362 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001711/0.1902, allocations: 29.7 kB / 0.8362 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001763/0.1904, allocations: 59.39 kB / 0.8363 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/0.1905, allocations: 89.86 kB / 0.8364 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1905, allocations: 29.83 kB / 0.8364 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.1905, allocations: 84.14 kB / 0.8365 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.1906, allocations: 7.938 kB / 0.8365 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.1906, allocations: 9.719 kB / 0.8365 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1908, allocations: 310.8 kB / 0.8368 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.1908, allocations: 4 kB / 0.8368 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-06/0.1908, allocations: 0 / 0.8368 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.1908, allocations: 12.86 kB / 0.8368 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1908, allocations: 0 / 0.8368 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.079e-05/0.1909, allocations: 45.61 kB / 0.8368 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1909, allocations: 10.38 kB / 0.8369 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1909, allocations: 4 kB / 0.8369 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1909, allocations: 0 / 0.8369 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/0.191, allocations: 0 / 0.8369 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.191, allocations: 3.938 kB / 0.8369 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.254e-05/0.191, allocations: 0 / 0.8369 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.191, allocations: 4 kB / 0.8369 GB, free: 4.555 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 9.611e-05/0.1911, allocations: 106.5 kB / 0.837 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.1911, allocations: 3.938 kB / 0.837 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.1912, allocations: 48.69 kB / 0.837 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1912, allocations: 0 / 0.837 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1912, allocations: 4 kB / 0.837 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1912, allocations: 0 / 0.837 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1914, allocations: 112.8 kB / 0.8371 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1914, allocations: 0 / 0.8371 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.1914, allocations: 11.92 kB / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1914, allocations: 0 / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1914, allocations: 0 / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1914, allocations: 0 / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1914, allocations: 4.031 kB / 0.8371 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.532e-05/0.1915, allocations: 61.08 kB / 0.8372 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.1915, allocations: 3.938 kB / 0.8372 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1915, allocations: 7.984 kB / 0.8372 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-06/0.1915, allocations: 0 / 0.8372 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.1916, allocations: 0 / 0.8372 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1916, allocations: 0 / 0.8372 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.1916, allocations: 75.28 kB / 0.8373 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1916, allocations: 3.938 kB / 0.8373 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002224/0.1918, allocations: 11.94 kB / 0.8373 GB, free: 4.031 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.0005028/0.1923, allocations: 0.6085 MB / 0.8379 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.855e-05/0.1924, allocations: 11.98 kB / 0.8379 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1924, allocations: 0 / 0.8379 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.512e-06/0.1924, allocations: 3.938 kB / 0.8379 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1925, allocations: 4.688 kB / 0.8379 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.1929, allocations: 106.7 kB / 0.838 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.795e-05/0.193, allocations: 59.34 kB / 0.8381 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.193, allocations: 4.156 kB / 0.8381 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.193, allocations: 11.44 kB / 0.8381 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/0.193, allocations: 3.938 kB / 0.8381 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.2197, allocations: 1.304 MB / 0.8394 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.36, allocations: 11.42 kB / 0.8394 GB, free: 1.965 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.504397781100124] Failed to read output from testmodel.py, exit status != 0: 11.518072559963912 11.546315461 11.354064844 Calling exit ...