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.00125/0.00125, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001457/0.001457, allocations: 209 kB / 22.99 MB, free: 4.977 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.498/1.498, 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/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.004/1.004, allocations: 149.9 MB / 463 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [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.002085/0.002085, allocations: 76.55 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1852, allocations: 89.17 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001799/0.1869, allocations: 0.5828 MB / 0.7288 GB, free: 444 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1888, allocations: 1.272 MB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.1888, allocations: 4 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.1888, allocations: 0 / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.1888, allocations: 0 / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1892, allocations: 75.67 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.172e-05/0.1892, allocations: 8 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.1893, allocations: 3.984 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.22e-05/0.1893, allocations: 0 / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.1893, allocations: 4 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.223e-06/0.1893, allocations: 0 / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.1896, allocations: 103.9 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.675e-06/0.1896, allocations: 0 / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.1896, allocations: 7.938 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1898, allocations: 64.08 kB / 0.7303 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1898, allocations: 4 kB / 0.7303 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1898, allocations: 4 kB / 0.7303 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.1898, allocations: 0 / 0.7303 GB, free: 14.87 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.0003535/0.1901, allocations: 258.2 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.1902, allocations: 8.031 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.1902, allocations: 30.75 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.1903, allocations: 0.9375 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.946e-05/0.1904, allocations: 106.5 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1904, allocations: 384 / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.1904, allocations: 384 / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/0.1905, allocations: 29.83 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1905, allocations: 11.98 kB / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1905, allocations: 0 / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1905, allocations: 0 / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.537e-05/0.1905, allocations: 7.938 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.1907, allocations: 116.8 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.202e-05/0.1907, allocations: 14.58 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.1907, allocations: 4.859 kB / 0.7308 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003691/0.1911, allocations: 44.05 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.1912, allocations: 46.48 kB / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.1912, allocations: 0 / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.1913, allocations: 37.62 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1913, allocations: 59.34 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.867e-05/0.1914, allocations: 89.86 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1914, allocations: 25.7 kB / 0.7311 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.1915, allocations: 80.14 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.1915, allocations: 3.953 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.1915, allocations: 13.72 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1917, allocations: 319 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.1917, allocations: 4 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.1917, allocations: 4 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/0.1917, allocations: 4.859 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1917, allocations: 3.938 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.621e-05/0.1918, allocations: 37.64 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1918, allocations: 7.938 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1918, allocations: 0 / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1918, allocations: 0 / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.418e-05/0.1919, allocations: 4 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1919, allocations: 4.094 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.053e-05/0.1919, allocations: 0 / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1919, allocations: 3.984 kB / 0.7316 GB, free: 13.32 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 8.568e-05/0.192, allocations: 113.8 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.192, allocations: 3.938 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.497e-05/0.1921, allocations: 40.64 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1921, allocations: 0 / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1921, allocations: 0 / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1921, allocations: 8.016 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.338e-05/0.1922, allocations: 120.8 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1922, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.377e-05/0.1922, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1922, allocations: 7.938 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-06/0.1922, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1922, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1922, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.184e-05/0.1923, allocations: 57.12 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-06/0.1923, allocations: 3.938 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1923, allocations: 8.031 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.1923, allocations: 0 / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.1923, allocations: 7.938 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.1923, allocations: 0 / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.1924, allocations: 75.28 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1924, allocations: 3.938 kB / 0.732 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002021/0.1926, allocations: 11.98 kB / 0.732 GB, free: 12.79 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.0004692/0.193, allocations: 0.6007 MB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.227e-05/0.1931, allocations: 4.031 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1931, allocations: 4.062 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.1931, allocations: 7.938 kB / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1932, allocations: 0 / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.1935, allocations: 110.5 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.862e-05/0.1936, allocations: 55.36 kB / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.1936, allocations: 0 / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.1936, allocations: 15.38 kB / 0.7328 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1936, allocations: 4.062 kB / 0.7328 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.2283, allocations: 1.623 MB / 0.7344 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.46, allocations: 11.97 kB / 0.7344 GB, free: 10.4 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.23119880259037] Failed to read output from testmodel.py, exit status != 0: 11.563698327168822 11.579890994 11.386876706 Calling exit ...