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.0006705/0.0006705, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001695, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.0007487/0.0007487, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.001784, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.9542/0.9542, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07878/1.033, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001301/0.001301, allocations: 230.1 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.00245, allocations: 479.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7194/0.7194, allocations: 138.7 MB / 384.3 MB, free: 384 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07226/0.7917, allocations: 42.4 MB / 426.7 MB, free: 5.832 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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 1.213e-06/1.213e-06, allocations: 0 / 428.1 MB, free: 4.422 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.524e-05, allocations: 2.312 kB / 428.1 MB, free: 4.418 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.000988/0.001003, allocations: 0.6548 MB / 428.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.00205, allocations: 1.326 MB / 430.1 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-06/0.002056, allocations: 4 kB / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.204e-06/0.002059, allocations: 0 / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.51e-07/0.002059, allocations: 0 / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.002223, allocations: 63.69 kB / 430.2 MB, free: 2.352 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 2.24e-05/0.002245, allocations: 7.922 kB / 430.2 MB, free: 2.344 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.692e-05/0.002262, allocations: 3.984 kB / 430.2 MB, free: 2.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.685e-05/0.002279, allocations: 4 kB / 430.2 MB, free: 2.336 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.113e-05/0.0023, allocations: 0 / 430.2 MB, free: 2.336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-06/0.002304, allocations: 3.938 kB / 430.2 MB, free: 2.332 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.002493, allocations: 119.8 kB / 430.3 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-06/0.002499, allocations: 4 kB / 430.3 MB, free: 2.211 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.769e-06/0.002504, allocations: 0 / 430.3 MB, free: 2.211 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.51e-05/0.002589, allocations: 67.81 kB / 430.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.002596, allocations: 0 / 430.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.002596, allocations: 0 / 430.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.002601, allocations: 0 / 430.4 MB, free: 2.145 MB / 410.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.0001494/0.002751, allocations: 232.6 kB / 430.6 MB, free: 1.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.229e-05/0.002773, allocations: 11.98 kB / 430.6 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.091e-05/0.002784, allocations: 0.9375 kB / 430.6 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.236e-05/0.002826, allocations: 105.8 kB / 430.7 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-06/0.002831, allocations: 4.375 kB / 430.7 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-06/0.002835, allocations: 384 / 430.7 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.99e-05/0.002875, allocations: 34.19 kB / 430.8 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-06/0.002878, allocations: 192 / 430.8 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-06/0.002883, allocations: 4.375 kB / 430.8 MB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.002887, allocations: 3.938 kB / 430.8 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-06/0.002893, allocations: 0 / 430.8 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.564e-05/0.002939, allocations: 61.05 kB / 430.8 MB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 1.975e-05/0.002958, allocations: 14.58 kB / 430.8 MB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.02e-05/0.002968, allocations: 8.859 kB / 430.9 MB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.00315, allocations: 48.05 kB / 430.9 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.003166, allocations: 38.5 kB / 430.9 MB, free: 1.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.003167, allocations: 0 / 430.9 MB, free: 1.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 4.352e-05/0.003211, allocations: 33.69 kB / 431 MB, free: 1.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.003229, allocations: 51.41 kB / 431 MB, free: 1.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.368e-05/0.003252, allocations: 89.86 kB / 431.1 MB, free: 1.301 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.003259, allocations: 25.7 kB / 431.1 MB, free: 1.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.659e-05/0.003276, allocations: 84.27 kB / 431.2 MB, free: 1.184 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.003289, allocations: 3.953 kB / 431.2 MB, free: 1.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.003305, allocations: 17.66 kB / 431.2 MB, free: 1.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.157e-05/0.003367, allocations: 314.8 kB / 431.5 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.003371, allocations: 4 kB / 431.5 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.003373, allocations: 4 kB / 431.5 MB, free: 0.832 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.342e-05/0.003387, allocations: 12.78 kB / 431.6 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.003387, allocations: 0 / 431.6 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.432e-05/0.003412, allocations: 37.7 kB / 431.6 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.003419, allocations: 8.094 kB / 431.6 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-06/0.003421, allocations: 0 / 431.6 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.518e-06/0.003425, allocations: 0 / 431.6 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.008e-05/0.003445, allocations: 0 / 431.6 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-06/0.003447, allocations: 4 kB / 431.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-06/0.003452, allocations: 0 / 431.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.003456, allocations: 7.922 kB / 431.6 MB, free: 0.7539 MB / 410.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 3.679e-05/0.003493, allocations: 105.8 kB / 431.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-06/0.003496, allocations: 0 / 431.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.003541, allocations: 44.62 kB / 431.8 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.003543, allocations: 4 kB / 431.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.003544, allocations: 0 / 431.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.003546, allocations: 0 / 431.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.805e-05/0.003584, allocations: 69.81 kB / 431.8 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-07/0.003584, allocations: 0 / 431.8 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-06/0.00359, allocations: 4 kB / 431.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-06/0.003592, allocations: 0 / 431.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-07/0.003593, allocations: 0 / 431.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-06/0.003595, allocations: 0 / 431.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.003595, allocations: 0 / 431.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.003597, allocations: 8.031 kB / 431.8 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.286e-05/0.00363, allocations: 65 kB / 431.9 MB, free: 420 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-06/0.003634, allocations: 0 / 431.9 MB, free: 420 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-06/0.003637, allocations: 0 / 431.9 MB, free: 420 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-06/0.003645, allocations: 4 kB / 431.9 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.22e-07/0.003645, allocations: 0 / 431.9 MB, free: 416 kB / 410.7 MB Notification: Performance of sorting global known variables: time 5.361e-06/0.003651, allocations: 4.891 kB / 431.9 MB, free: 408 kB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003651, allocations: 0 / 431.9 MB, free: 408 kB / 410.7 MB Notification: Performance of remove unused functions: time 8.976e-05/0.003741, allocations: 11.94 kB / 431.9 MB, free: 396 kB / 410.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 7.419e-05/0.003815, allocations: 100.3 kB / 432 MB, free: 288 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 2.386e-05/0.003839, allocations: 12.84 kB / 432 MB, free: 272 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.00384, allocations: 0 / 432 MB, free: 272 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-06/0.003848, allocations: 8.859 kB / 432.1 MB, free: 260 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 2.856e-05/0.003877, allocations: 11.94 kB / 432.1 MB, free: 248 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001201/0.003997, allocations: 94.25 kB / 432.2 MB, free: 128 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.69e-05/0.004024, allocations: 55.36 kB / 432.2 MB, free: 52 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.389e-05/0.004037, allocations: 4.188 kB / 432.2 MB, free: 48 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.004061, allocations: 47.38 kB / 432.3 MB, free: 0 / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.004061, allocations: 0 / 432.3 MB, free: 0 / 410.7 MB Notification: Performance of Templates: time 0.1657/0.1698, allocations: 466.8 kB / 432.7 MB, free: 2.586 MB / 410.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.249106383882463]