Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6245/0.6245, allocations: 94.7 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001304/0.001304, allocations: 174 kB / 130.7 MB, free: 7.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.597/1.597, allocations: 170.5 MB / 324.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001605/0.001605, allocations: 111 kB / 386.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.733e-05/4.735e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5041, allocations: 61.52 MB / 0.5054 GB, free: 49.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.6432, allocations: 93.86 MB / 0.5971 GB, free: 1.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.6437, allocations: 76.47 kB / 0.5971 GB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003781/0.6475, allocations: 1.191 MB / 0.5983 GB, free: 500 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6475, allocations: 0.9688 kB / 0.5983 GB, free: 500 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.6475, allocations: 0 / 0.5983 GB, free: 500 kB / 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.0003507/0.6479, allocations: 331.8 kB / 0.5986 GB, free: 128 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.6479, allocations: 8.031 kB / 0.5986 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.648, allocations: 2.906 kB / 0.5986 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.6482, allocations: 160.5 kB / 0.5988 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.6482, allocations: 0 / 0.5988 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.6482, allocations: 8.453 kB / 0.5988 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.6483, allocations: 29.66 kB / 0.5988 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.6483, allocations: 0 / 0.5988 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.6484, allocations: 4.516 kB / 0.5988 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.6484, allocations: 0 / 0.5988 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.6484, allocations: 7.531 kB / 0.5988 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.6486, allocations: 146.9 kB / 0.599 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.6486, allocations: 18.61 kB / 0.599 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.6487, allocations: 9.734 kB / 0.599 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006264/0.6493, allocations: 0.5562 MB / 0.5995 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.6494, allocations: 39.52 kB / 0.5996 GB, free: 14.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.6494, allocations: 0 / 0.5996 GB, free: 14.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.6495, allocations: 34.38 kB / 0.5996 GB, free: 14.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.6496, allocations: 52.06 kB / 0.5996 GB, free: 14.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.6496, allocations: 90.22 kB / 0.5997 GB, free: 14.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.6497, allocations: 25.7 kB / 0.5998 GB, free: 14.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.6497, allocations: 80.95 kB / 0.5998 GB, free: 14.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.6498, allocations: 0.625 kB / 0.5998 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.6498, allocations: 0 / 0.5998 GB, free: 14.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.6499, allocations: 311.6 kB / 0.6001 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.6499, allocations: 1.562 kB / 0.6001 GB, free: 14.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-06/0.65, allocations: 7.938 kB / 0.6001 GB, free: 14.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.022e-05/0.65, allocations: 6.281 kB / 0.6001 GB, free: 14.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.65, allocations: 0 / 0.6001 GB, free: 14.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.389e-05/0.6501, allocations: 37.69 kB / 0.6002 GB, free: 14.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6501, allocations: 4 kB / 0.6002 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6501, allocations: 0.625 kB / 0.6002 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.6501, allocations: 1.031 kB / 0.6002 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.791e-05/0.6502, allocations: 4.938 kB / 0.6002 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.6502, allocations: 6.703 kB / 0.6002 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.6502, allocations: 2.688 kB / 0.6002 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.6502, allocations: 2.625 kB / 0.6002 GB, free: 14.22 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.175e-05/0.6503, allocations: 107.4 kB / 0.6003 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-06/0.6503, allocations: 0 / 0.6003 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.6504, allocations: 60.39 kB / 0.6004 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.6504, allocations: 0 / 0.6004 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6505, allocations: 0 / 0.6004 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.6505, allocations: 4.938 kB / 0.6004 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.6506, allocations: 148 kB / 0.6005 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.6506, allocations: 0 / 0.6005 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.6506, allocations: 4 kB / 0.6005 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.6506, allocations: 0 / 0.6005 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.6506, allocations: 0 / 0.6005 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.6506, allocations: 0 / 0.6005 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6506, allocations: 0.6562 kB / 0.6005 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.092e-05/0.6507, allocations: 68.66 kB / 0.6006 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.6508, allocations: 81.09 kB / 0.6007 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.6508, allocations: 0 / 0.6007 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-06/0.6508, allocations: 0 / 0.6007 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.6508, allocations: 4 kB / 0.6007 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.6509, allocations: 0 / 0.6007 GB, free: 13.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.004e-05/0.6509, allocations: 75.28 kB / 0.6007 GB, free: 13.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6509, allocations: 1.781 kB / 0.6007 GB, free: 13.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.6511, allocations: 11.94 kB / 0.6007 GB, free: 13.59 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001998/0.6513, allocations: 118.8 kB / 0.6009 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.07e-05/0.6514, allocations: 8.781 kB / 0.6009 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6514, allocations: 3.938 kB / 0.6009 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.962e-06/0.6514, allocations: 0 / 0.6009 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.6e-05/0.6515, allocations: 1.031 kB / 0.6009 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.6517, allocations: 49 kB / 0.6009 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.652, allocations: 0.677 MB / 0.6016 GB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.328e-05/0.652, allocations: 1.172 kB / 0.6016 GB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.6521, allocations: 13.25 kB / 0.6016 GB, free: 12.68 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6521, allocations: 4 kB / 0.6016 GB, free: 12.67 MB / 426.7 MB Notification: Performance of Templates: time 0.002242/0.6543, allocations: 277.9 kB / 0.6019 GB, free: 12.43 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)