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.00119/0.00119, allocations: 82.72 kB / 19.94 MB, free: 1.781 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.001991/0.001991, allocations: 163.5 kB / 23.21 MB, free: 4.91 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.406/1.406, allocations: 177.1 MB / 203.5 MB, free: 9.176 MB / 190.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.9076/0.9076, allocations: 114 MB / 373.9 MB, free: 13.23 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: 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5547 GB, free: 2.566 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.769e-05, allocations: 4.812 kB / 0.5547 GB, free: 2.562 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001453/0.00148, allocations: 0.587 MB / 0.5553 GB, free: 1.988 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.003236, allocations: 1.28 MB / 0.5566 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.003254, allocations: 0 / 0.5566 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.003268, allocations: 0 / 0.5566 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.102e-06/0.003274, allocations: 0 / 0.5566 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.003654, allocations: 75.69 kB / 0.5566 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 3.841e-05/0.003692, allocations: 4 kB / 0.5566 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.003733, allocations: 0 / 0.5566 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.261e-05/0.003755, allocations: 3.984 kB / 0.5566 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.003791, allocations: 0 / 0.5566 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.003801, allocations: 0 / 0.5566 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.004085, allocations: 115.8 kB / 0.5567 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.004092, allocations: 0 / 0.5567 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.229e-05/0.004105, allocations: 0 / 0.5567 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.004261, allocations: 75.84 kB / 0.5568 GB, free: 432 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004264, allocations: 4 kB / 0.5568 GB, free: 428 kB / 462.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004265, allocations: 0 / 0.5568 GB, free: 428 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004269, allocations: 0 / 0.5568 GB, free: 428 kB / 462.1 MB 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.0002981/0.004567, allocations: 254.2 kB / 0.5571 GB, free: 144 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.004601, allocations: 8.625 kB / 0.5571 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.004629, allocations: 0.9375 kB / 0.5571 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.004715, allocations: 109.8 kB / 0.5572 GB, free: 0 / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.004726, allocations: 384 / 0.5572 GB, free: 0 / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.004732, allocations: 384 / 0.5572 GB, free: 0 / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.004841, allocations: 30.31 kB / 0.5572 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.004849, allocations: 192 / 0.5572 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.004856, allocations: 4.375 kB / 0.5572 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.004862, allocations: 3.938 kB / 0.5572 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.958e-05/0.004881, allocations: 7.922 kB / 0.5572 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.005, allocations: 97.33 kB / 0.5573 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.513e-05/0.005045, allocations: 18.52 kB / 0.5573 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.005065, allocations: 8.859 kB / 0.5573 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.005381, allocations: 48.06 kB / 0.5574 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.005413, allocations: 38.5 kB / 0.5574 GB, free: 15.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.005414, allocations: 0 / 0.5574 GB, free: 15.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.005573, allocations: 41.62 kB / 0.5575 GB, free: 15.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.005616, allocations: 59.28 kB / 0.5575 GB, free: 15.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.963e-05/0.005665, allocations: 89.86 kB / 0.5576 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.005681, allocations: 25.7 kB / 0.5576 GB, free: 15.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.005712, allocations: 80.14 kB / 0.5577 GB, free: 15.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.005746, allocations: 3.938 kB / 0.5577 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.005778, allocations: 17.72 kB / 0.5577 GB, free: 15.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.00591, allocations: 310.8 kB / 0.558 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.005919, allocations: 4.125 kB / 0.558 GB, free: 15.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-06/0.005927, allocations: 4 kB / 0.558 GB, free: 15.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.005958, allocations: 8.844 kB / 0.558 GB, free: 15 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.005959, allocations: 0 / 0.558 GB, free: 15 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.433e-05/0.006014, allocations: 33.7 kB / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.006026, allocations: 7.938 kB / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.006031, allocations: 0 / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.006044, allocations: 0 / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.006089, allocations: 4 kB / 0.5581 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.006095, allocations: 4.031 kB / 0.5581 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.242e-05/0.006108, allocations: 8 kB / 0.5581 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.006112, allocations: 0 / 0.5581 GB, free: 14.94 MB / 478.1 MB 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 7.998e-05/0.006192, allocations: 114.9 kB / 0.5582 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.0062, allocations: 3.984 kB / 0.5582 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.045e-05/0.006291, allocations: 32.7 kB / 0.5582 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006292, allocations: 0 / 0.5582 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.006296, allocations: 0 / 0.5582 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.006305, allocations: 3.938 kB / 0.5582 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.82e-05/0.006383, allocations: 109.3 kB / 0.5583 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006384, allocations: 0 / 0.5583 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-05/0.0064, allocations: 4 kB / 0.5584 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.006403, allocations: 4 kB / 0.5584 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.006409, allocations: 0 / 0.5584 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.006413, allocations: 3.938 kB / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006413, allocations: 0 / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.429e-05/0.006488, allocations: 57.08 kB / 0.5584 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-06/0.006493, allocations: 3.984 kB / 0.5584 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.006502, allocations: 0 / 0.5584 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.006512, allocations: 7.969 kB / 0.5584 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.006523, allocations: 0 / 0.5584 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.006525, allocations: 4 kB / 0.5584 GB, free: 14.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.006564, allocations: 79.22 kB / 0.5585 GB, free: 14.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006564, allocations: 3.938 kB / 0.5585 GB, free: 14.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.006769, allocations: 12 kB / 0.5585 GB, free: 14.44 MB / 478.1 MB 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.000179/0.006948, allocations: 115.2 kB / 0.5586 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 7.601e-05/0.007024, allocations: 7.938 kB / 0.5586 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007025, allocations: 0 / 0.5586 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.422e-06/0.007032, allocations: 4.062 kB / 0.5586 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.007157, allocations: 5.719 kB / 0.5586 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.007363, allocations: 80.98 kB / 0.5587 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.398e-05/0.007407, allocations: 55.36 kB / 0.5588 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.611e-05/0.007423, allocations: 0 / 0.5588 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.007439, allocations: 8.5 kB / 0.5588 GB, free: 14.12 MB / 478.1 MB Notification: Performance of SimCode: time 3.8e-07/0.007439, allocations: 0 / 0.5588 GB, free: 14.12 MB / 478.1 MB Notification: Performance of Templates: time 0.002692/0.01013, allocations: 404.5 kB / 0.5592 GB, free: 13.72 MB / 478.1 MB " [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: 5.132142905145884] Failed to read output from testmodel.py, exit status != 0: 0.018600240349769592 0.031817087 0.024688337 Calling exit ...