Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009301/0.0009301, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009604/0.0009604, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9684/0.9684, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001766/0.001766, allocations: 245 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6887/0.6887, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 3.938 kB / 462.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.854e-05, allocations: 4.031 kB / 462.4 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001436/0.001455, allocations: 0.6052 MB / 463 MB, free: 496 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.003276, allocations: 1.328 MB / 464.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.003297, allocations: 1.938 kB / 464.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.003314, allocations: 0 / 464.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.155e-06/0.003322, allocations: 0 / 464.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.00378, allocations: 76.45 kB / 464.4 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.353e-05/0.003824, allocations: 3.094 kB / 464.4 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.003859, allocations: 4.844 kB / 464.4 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.04e-05/0.003889, allocations: 1.531 kB / 464.4 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.264e-05/0.003932, allocations: 1.906 kB / 464.4 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.003941, allocations: 0 / 464.4 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.004203, allocations: 109.5 kB / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.004213, allocations: 0 / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.013e-05/0.004223, allocations: 0.6562 kB / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.004355, allocations: 73.62 kB / 464.6 MB, free: 15.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.004357, allocations: 2.312 kB / 464.6 MB, free: 15.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004358, allocations: 0 / 464.6 MB, free: 15.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.004361, allocations: 0 / 464.6 MB, free: 15.48 MB / 426.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.0002057/0.004567, allocations: 229.7 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.0046, allocations: 11.11 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.004624, allocations: 6.594 kB / 464.8 MB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.427e-05/0.004678, allocations: 104.5 kB / 464.9 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.004688, allocations: 3.375 kB / 464.9 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.004696, allocations: 1.406 kB / 464.9 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.486e-05/0.004751, allocations: 30.72 kB / 465 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004758, allocations: 192 / 465 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.004763, allocations: 3.75 kB / 465 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.00477, allocations: 3.938 kB / 465 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.568e-06/0.004779, allocations: 2.266 kB / 465 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.752e-05/0.004847, allocations: 55.42 kB / 465 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.343e-05/0.00488, allocations: 21.97 kB / 465.1 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.023e-05/0.00489, allocations: 7.453 kB / 465.1 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.005088, allocations: 52.09 kB / 465.1 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.005107, allocations: 32.95 kB / 465.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.005108, allocations: 0.5625 kB / 465.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.655e-05/0.005185, allocations: 32.25 kB / 465.2 MB, free: 14.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.005212, allocations: 55.91 kB / 465.2 MB, free: 14.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.842e-05/0.005241, allocations: 91.55 kB / 465.3 MB, free: 14.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.005249, allocations: 26.27 kB / 465.3 MB, free: 14.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.00527, allocations: 82.95 kB / 465.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.005294, allocations: 11.38 kB / 465.4 MB, free: 14.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.005313, allocations: 13.25 kB / 465.4 MB, free: 14.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.005383, allocations: 317.8 kB / 465.8 MB, free: 14.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-06/0.005388, allocations: 1.062 kB / 465.8 MB, free: 14.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.005394, allocations: 1.094 kB / 465.8 MB, free: 14.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.984e-05/0.005413, allocations: 9.391 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.005415, allocations: 1.406 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.074e-05/0.005446, allocations: 36.67 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.005455, allocations: 5.156 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.005458, allocations: 1.281 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.005469, allocations: 1.281 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.852e-05/0.005498, allocations: 2.016 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.0055, allocations: 1.609 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.056e-06/0.005508, allocations: 2.672 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.005513, allocations: 5.25 kB / 465.8 MB, free: 14.23 MB / 426.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.482e-05/0.005558, allocations: 109.6 kB / 465.9 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-06/0.005561, allocations: 1.766 kB / 465.9 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.005617, allocations: 39.59 kB / 466 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.005618, allocations: 0.75 kB / 466 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.00562, allocations: 1.188 kB / 466 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005622, allocations: 1.516 kB / 466 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.297e-05/0.005665, allocations: 65.19 kB / 466 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005666, allocations: 1.719 kB / 466 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-06/0.005672, allocations: 4.047 kB / 466 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005673, allocations: 1.312 kB / 466 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-06/0.005677, allocations: 4.641 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005677, allocations: 0.7656 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005679, allocations: 6.516 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.346e-05/0.005722, allocations: 60.89 kB / 466.1 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.005727, allocations: 3.703 kB / 466.1 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-06/0.005732, allocations: 1.281 kB / 466.1 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-06/0.005737, allocations: 2.203 kB / 466.1 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-06/0.005746, allocations: 1.312 kB / 466.1 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.005747, allocations: 1.25 kB / 466.1 MB, free: 13.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.648e-06/0.005752, allocations: 4.859 kB / 466.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005752, allocations: 2.531 kB / 466.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001045/0.005856, allocations: 7.422 kB / 466.1 MB, free: 13.92 MB / 426.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 0.0001062/0.005963, allocations: 95.66 kB / 466.2 MB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.353e-05/0.006006, allocations: 16.48 kB / 466.3 MB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.006009, allocations: 3.531 kB / 466.3 MB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.001e-06/0.006015, allocations: 6.641 kB / 466.3 MB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.883e-05/0.006054, allocations: 6.328 kB / 466.3 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001314/0.006185, allocations: 73.94 kB / 466.3 MB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.384e-05/0.006209, allocations: 54.58 kB / 466.4 MB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.381e-05/0.006223, allocations: 2.031 kB / 466.4 MB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.006249, allocations: 49.22 kB / 466.4 MB, free: 13.62 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.006249, allocations: 1.594 kB / 466.4 MB, free: 13.62 MB / 426.7 MB Notification: Performance of Templates: time 0.001809/0.008058, allocations: 479.9 kB / 466.9 MB, free: 13.6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.509124721866101]