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.00135/0.00135, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001624/0.001624, allocations: 210.2 kB / 22.99 MB, free: 4.609 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.593/1.593, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.07/1.07, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 178] 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.002088/0.002088, allocations: 65.09 kB / 0.6416 GB, free: 9.562 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2042, allocations: 89.17 MB / 0.7287 GB, free: 484 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001864/0.2061, allocations: 0.5927 MB / 0.7292 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2079, allocations: 1.28 MB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.2079, allocations: 0 / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.208, allocations: 0 / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.231e-06/0.208, allocations: 4 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.2083, allocations: 63.75 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.569e-05/0.2084, allocations: 4 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.2084, allocations: 0 / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.2084, allocations: 3.984 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.2085, allocations: 8 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.2085, allocations: 4 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.2088, allocations: 107.8 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.2088, allocations: 3.938 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.416e-05/0.2088, allocations: 0 / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.209, allocations: 59.88 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.209, allocations: 0 / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.209, allocations: 0 / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.209, allocations: 4 kB / 0.7307 GB, free: 14.33 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.0003609/0.2094, allocations: 258.2 kB / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2094, allocations: 12.03 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.2094, allocations: 0.9375 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.443e-05/0.2095, allocations: 110.5 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2095, allocations: 4.359 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.2095, allocations: 4.375 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.2096, allocations: 30.02 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.577e-06/0.2097, allocations: 0 / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2097, allocations: 0 / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2097, allocations: 0 / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.2097, allocations: 7.938 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.2098, allocations: 97.33 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.99e-05/0.2099, allocations: 18.61 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.2099, allocations: 12.84 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/0.2102, allocations: 36.03 kB / 0.7313 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.2102, allocations: 38.5 kB / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2102, allocations: 0 / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001467/0.2104, allocations: 41.58 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.2104, allocations: 51.41 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.355e-05/0.2105, allocations: 89.86 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2105, allocations: 33.83 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.2105, allocations: 84.12 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.2106, allocations: 3.953 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.2106, allocations: 9.719 kB / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2107, allocations: 314.8 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.2107, allocations: 3.938 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.2107, allocations: 0 / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.2108, allocations: 12.86 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2108, allocations: 0 / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.878e-05/0.2108, allocations: 41.69 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2109, allocations: 8 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2109, allocations: 0 / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2109, allocations: 3.938 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.909e-05/0.2109, allocations: 0 / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2109, allocations: 4 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.2109, allocations: 0 / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.2109, allocations: 0 / 0.732 GB, free: 12.85 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.733e-05/0.211, allocations: 105.8 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-06/0.211, allocations: 0 / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.2111, allocations: 56.59 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2111, allocations: 0 / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2111, allocations: 4 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2111, allocations: 0 / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.279e-05/0.2112, allocations: 93.33 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2112, allocations: 4 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.2112, allocations: 0 / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2112, allocations: 0 / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.2112, allocations: 0 / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2113, allocations: 7.953 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2113, allocations: 8 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.633e-05/0.2113, allocations: 53.14 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.2113, allocations: 7.938 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.2113, allocations: 0 / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.2114, allocations: 3.938 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.2114, allocations: 3.984 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.2114, allocations: 0 / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.652e-05/0.2114, allocations: 75.28 kB / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2114, allocations: 3.938 kB / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001912/0.2116, allocations: 8 kB / 0.7324 GB, free: 12.36 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.0001894/0.2118, allocations: 119.2 kB / 0.7325 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.776e-05/0.2119, allocations: 8 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2119, allocations: 0 / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.051e-06/0.2119, allocations: 0 / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.212, allocations: 4 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.2122, allocations: 75.62 kB / 0.7326 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.585e-05/0.2123, allocations: 59.34 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.2123, allocations: 8.062 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.2123, allocations: 11.44 kB / 0.7327 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2123, allocations: 0 / 0.7327 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.002719/0.215, allocations: 390.5 kB / 0.7331 GB, free: 11.64 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: 6.336889680474997] Failed to read output from testmodel.py, exit status != 0: 0.2234556172043085 0.236796736 0.024949496 Calling exit ...