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.002063/0.002063, allocations: 114.9 kB / 17.84 MB, free: 5.355 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.002249/0.002249, allocations: 205.6 kB / 20.79 MB, free: 2.414 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.554/1.554, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.9682/0.9682, allocations: 150 MB / 460.2 MB, free: 5.695 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",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.001935/0.001935, allocations: 64.88 kB / 0.6368 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1819, allocations: 89.14 MB / 0.7239 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001941/0.1838, allocations: 0.5735 MB / 0.7245 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1859, allocations: 1.344 MB / 0.7258 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.1859, allocations: 0 / 0.7258 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.1859, allocations: 0 / 0.7258 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-06/0.1859, allocations: 0 / 0.7258 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1864, allocations: 75.75 kB / 0.7258 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.458e-05/0.1864, allocations: 0 / 0.7258 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.1864, allocations: 7.984 kB / 0.7258 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.277e-05/0.1865, allocations: 0 / 0.7258 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.1865, allocations: 3.984 kB / 0.7258 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.1865, allocations: 0 / 0.7258 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.1869, allocations: 111.8 kB / 0.726 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.1869, allocations: 0 / 0.726 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.1869, allocations: 0 / 0.726 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.187, allocations: 72.14 kB / 0.726 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.187, allocations: 3.938 kB / 0.726 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.187, allocations: 0 / 0.726 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.187, allocations: 0 / 0.726 GB, free: 1.852 MB / 0.5294 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.0003687/0.1874, allocations: 331.3 kB / 0.7263 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1875, allocations: 8.031 kB / 0.7264 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.842e-05/0.1875, allocations: 192 / 0.7264 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.1875, allocations: 34.75 kB / 0.7264 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.1875, allocations: 0.9375 kB / 0.7264 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1877, allocations: 164.4 kB / 0.7265 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1877, allocations: 4.375 kB / 0.7265 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1877, allocations: 384 / 0.7265 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1878, allocations: 41.61 kB / 0.7266 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1878, allocations: 0 / 0.7266 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1878, allocations: 0 / 0.7266 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.1878, allocations: 0 / 0.7266 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.1878, allocations: 3.938 kB / 0.7266 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.188, allocations: 149.7 kB / 0.7267 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.892e-05/0.1881, allocations: 22.58 kB / 0.7268 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.1881, allocations: 4.859 kB / 0.7268 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006439/0.1887, allocations: 0.5661 MB / 0.7273 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1887, allocations: 30.56 kB / 0.7273 GB, free: 208 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1887, allocations: 0 / 0.7273 GB, free: 208 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001555/0.1889, allocations: 45.62 kB / 0.7274 GB, free: 156 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1889, allocations: 51.41 kB / 0.7274 GB, free: 92 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.189, allocations: 89.86 kB / 0.7275 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.189, allocations: 25.7 kB / 0.7275 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.1891, allocations: 84.14 kB / 0.7276 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1891, allocations: 3.953 kB / 0.7276 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.1891, allocations: 13.66 kB / 0.7276 GB, free: 15.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1893, allocations: 319 kB / 0.7279 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.1893, allocations: 4 kB / 0.7279 GB, free: 15.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.1893, allocations: 0 / 0.7279 GB, free: 15.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.1893, allocations: 16.78 kB / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1893, allocations: 0 / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.385e-05/0.1894, allocations: 37.58 kB / 0.728 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1894, allocations: 6.031 kB / 0.728 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1894, allocations: 0 / 0.728 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1894, allocations: 4 kB / 0.728 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.139e-05/0.1895, allocations: 4.094 kB / 0.728 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1895, allocations: 0 / 0.728 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.1895, allocations: 0 / 0.728 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1895, allocations: 0 / 0.728 GB, free: 15.45 MB / 0.545 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.732e-05/0.1896, allocations: 117.8 kB / 0.7281 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.1896, allocations: 3.938 kB / 0.7281 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.519e-05/0.1897, allocations: 40.77 kB / 0.7282 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1897, allocations: 0 / 0.7282 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1897, allocations: 4 kB / 0.7282 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1897, allocations: 0 / 0.7282 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1898, allocations: 145.7 kB / 0.7283 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1898, allocations: 0 / 0.7283 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.1898, allocations: 7.938 kB / 0.7283 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1898, allocations: 0 / 0.7283 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1898, allocations: 0 / 0.7283 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1898, allocations: 0 / 0.7283 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1898, allocations: 0 / 0.7283 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.071e-05/0.1899, allocations: 65.16 kB / 0.7284 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.19, allocations: 81.05 kB / 0.7285 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.19, allocations: 0 / 0.7285 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.662e-05/0.19, allocations: 4 kB / 0.7285 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.19, allocations: 3.938 kB / 0.7285 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.19, allocations: 0 / 0.7285 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.19, allocations: 75.28 kB / 0.7285 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.19, allocations: 8.031 kB / 0.7285 GB, free: 14.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002302/0.1903, allocations: 11.94 kB / 0.7286 GB, free: 14.8 MB / 0.545 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.0004947/0.1908, allocations: 0.6085 MB / 0.7292 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.031e-05/0.1908, allocations: 7.938 kB / 0.7292 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1908, allocations: 4.094 kB / 0.7292 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/0.1909, allocations: 7.938 kB / 0.7292 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.191, allocations: 5.828 kB / 0.7292 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.1913, allocations: 118.5 kB / 0.7293 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.1917, allocations: 0.669 MB / 0.7299 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.059e-05/0.1917, allocations: 0 / 0.7299 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.1917, allocations: 7.438 kB / 0.7299 GB, free: 13.27 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.1917, allocations: 4.062 kB / 0.73 GB, free: 13.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.2092, allocations: 1.17 MB / 0.7311 GB, free: 12.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.512, allocations: 9.688 kB / 0.7311 GB, free: 12.22 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.537632195046172] Failed to read output from testmodel.py, exit status != 0: 8.641493982984684 8.671592459 8.479796484 Calling exit ...