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.0007729/0.0007729, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0007205/0.0007205, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.8406/0.8406, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.554/0.554, allocations: 114 MB / 374.7 MB, free: 8.695 MB / 346.7 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 8.32e-07/8.32e-07, allocations: 0 / 0.5555 GB, free: 1.125 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.553e-05, allocations: 4.109 kB / 0.5555 GB, free: 1.121 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009201/0.0009356, allocations: 0.5782 MB / 0.556 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.002077, allocations: 1.279 MB / 0.5573 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.607e-06/0.002086, allocations: 0 / 0.5573 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.602e-06/0.002092, allocations: 0 / 0.5573 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.446e-06/0.002096, allocations: 0 / 0.5573 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.002299, allocations: 75.67 kB / 0.5574 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 2.267e-05/0.002322, allocations: 0 / 0.5574 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.492e-05/0.002347, allocations: 11.94 kB / 0.5574 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.762e-05/0.002365, allocations: 0 / 0.5574 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.198e-05/0.002387, allocations: 0 / 0.5574 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.002394, allocations: 0 / 0.5574 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.002605, allocations: 123.7 kB / 0.5575 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.002614, allocations: 0 / 0.5575 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-06/0.002623, allocations: 0 / 0.5575 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.002729, allocations: 71.86 kB / 0.5576 GB, free: 14.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-06/0.00273, allocations: 0 / 0.5576 GB, free: 14.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002731, allocations: 0 / 0.5576 GB, free: 14.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.002734, allocations: 0 / 0.5576 GB, free: 14.97 MB / 490.7 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.0001667/0.0029, allocations: 250.3 kB / 0.5578 GB, free: 14.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.002927, allocations: 8.625 kB / 0.5578 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.585e-05/0.002943, allocations: 4.938 kB / 0.5578 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.569e-05/0.002988, allocations: 109.8 kB / 0.5579 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-06/0.002994, allocations: 4.375 kB / 0.5579 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-06/0.002998, allocations: 384 / 0.5579 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.837e-05/0.003047, allocations: 30.25 kB / 0.558 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-06/0.00305, allocations: 4.188 kB / 0.558 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-06/0.003054, allocations: 4.312 kB / 0.558 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.003058, allocations: 3.938 kB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.288e-05/0.003071, allocations: 3.938 kB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.068e-05/0.003141, allocations: 97.33 kB / 0.5581 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.473e-05/0.003166, allocations: 18.58 kB / 0.5581 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.049e-05/0.003176, allocations: 8.797 kB / 0.5581 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/0.003412, allocations: 52.05 kB / 0.5581 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.003426, allocations: 30.56 kB / 0.5582 GB, free: 14.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.003426, allocations: 0 / 0.5582 GB, free: 14.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 6.074e-05/0.003487, allocations: 33.64 kB / 0.5582 GB, free: 14.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.003507, allocations: 59.34 kB / 0.5583 GB, free: 14.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.489e-05/0.003532, allocations: 89.86 kB / 0.5583 GB, free: 14.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.003541, allocations: 25.7 kB / 0.5584 GB, free: 14.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.971e-05/0.003561, allocations: 84.27 kB / 0.5584 GB, free: 13.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.003575, allocations: 4 kB / 0.5584 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.003593, allocations: 13.72 kB / 0.5585 GB, free: 13.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.003664, allocations: 314.8 kB / 0.5588 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-06/0.003669, allocations: 0 / 0.5588 GB, free: 13.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-06/0.003673, allocations: 4 kB / 0.5588 GB, free: 13.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.324e-05/0.003686, allocations: 4.859 kB / 0.5588 GB, free: 13.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.003687, allocations: 0 / 0.5588 GB, free: 13.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.976e-05/0.003717, allocations: 41.64 kB / 0.5588 GB, free: 13.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.003724, allocations: 8.094 kB / 0.5588 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.003726, allocations: 3.984 kB / 0.5588 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.003732, allocations: 0 / 0.5588 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.621e-05/0.003768, allocations: 4 kB / 0.5588 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.003772, allocations: 7.922 kB / 0.5588 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-06/0.003777, allocations: 0 / 0.5588 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-06/0.00378, allocations: 0 / 0.5588 GB, free: 13.5 MB / 490.7 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 4.443e-05/0.003824, allocations: 113.8 kB / 0.5589 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-06/0.003827, allocations: 0 / 0.5589 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.003885, allocations: 36.7 kB / 0.559 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.31e-07/0.003886, allocations: 0 / 0.559 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.003891, allocations: 11.92 kB / 0.559 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.003893, allocations: 3.938 kB / 0.559 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.102e-05/0.003934, allocations: 101.3 kB / 0.5591 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-07/0.003935, allocations: 3.938 kB / 0.5591 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-06/0.00394, allocations: 0 / 0.5591 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-07/0.003941, allocations: 0 / 0.5591 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-06/0.003944, allocations: 4 kB / 0.5591 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-07/0.003944, allocations: 0 / 0.5591 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.003944, allocations: 4.031 kB / 0.5591 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.269e-05/0.003977, allocations: 61.06 kB / 0.5592 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-06/0.00398, allocations: 0 / 0.5592 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-06/0.003984, allocations: 0 / 0.5592 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-06/0.003988, allocations: 0 / 0.5592 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.003999, allocations: 4 kB / 0.5592 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-07/0.003999, allocations: 7.938 kB / 0.5592 GB, free: 13.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.757e-05/0.004017, allocations: 83.25 kB / 0.5592 GB, free: 13.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004017, allocations: 0 / 0.5592 GB, free: 13.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001153/0.004132, allocations: 11.98 kB / 0.5593 GB, free: 13 MB / 490.7 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 8.605e-05/0.004218, allocations: 119.1 kB / 0.5594 GB, free: 12.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 3.949e-05/0.004258, allocations: 7.984 kB / 0.5594 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.004259, allocations: 0 / 0.5594 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.095e-06/0.004262, allocations: 0 / 0.5594 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.906e-05/0.004331, allocations: 5.719 kB / 0.5594 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.817e-05/0.004429, allocations: 102.7 kB / 0.5595 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.383e-05/0.004453, allocations: 55.36 kB / 0.5595 GB, free: 12.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-06/0.004463, allocations: 8.5 kB / 0.5595 GB, free: 12.64 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.004463, allocations: 128 / 0.5595 GB, free: 12.64 MB / 490.7 MB Notification: Performance of Templates: time 0.001135/0.005599, allocations: 0.5229 MB / 0.5601 GB, free: 12.12 MB / 490.7 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: 4.534449014812708] Failed to read output from testmodel.py, exit status != 0: 0.009537653997540474 0.016953082 0.012727777000000001 Calling exit ...