Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001231, allocations: 100.8 kB / 16.29 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 181.8 kB / 17.22 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.597/1.597, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 72.45 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1919, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001579/0.1935, allocations: 0.5785 MB / 0.7847 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1949, allocations: 1.276 MB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.222e-05/0.1949, allocations: 0 / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.116e-05/0.1949, allocations: 0 / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.867e-06/0.1949, allocations: 0 / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.1952, allocations: 63.75 kB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.72e-05/0.1953, allocations: 3.984 kB / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.1953, allocations: 8 kB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.532e-05/0.1953, allocations: 7.984 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.44e-05/0.1954, allocations: 0 / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.694e-06/0.1954, allocations: 0 / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.1956, allocations: 91.91 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.1956, allocations: 3.984 kB / 0.7861 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.1956, allocations: 4 kB / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.1957, allocations: 43.94 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1957, allocations: 3.938 kB / 0.7861 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1958, allocations: 0 / 0.7861 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1958, allocations: 4 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB 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.0002776/0.196, allocations: 323.6 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1961, allocations: 8.031 kB / 0.7864 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.1961, allocations: 4.922 kB / 0.7864 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.1962, allocations: 160.4 kB / 0.7866 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1962, allocations: 4.375 kB / 0.7866 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.1962, allocations: 8.297 kB / 0.7866 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.1963, allocations: 34.02 kB / 0.7866 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1963, allocations: 3.938 kB / 0.7866 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1963, allocations: 4 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1964, allocations: 0 / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.522e-05/0.1964, allocations: 4 kB / 0.7867 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.1965, allocations: 145.7 kB / 0.7868 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.744e-05/0.1965, allocations: 18.61 kB / 0.7868 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.1966, allocations: 12.8 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004878/0.1971, allocations: 0.5584 MB / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1971, allocations: 34.5 kB / 0.7874 GB, free: 124 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1971, allocations: 0 / 0.7874 GB, free: 124 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001098/0.1972, allocations: 41.69 kB / 0.7874 GB, free: 76 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.1972, allocations: 51.41 kB / 0.7875 GB, free: 12 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3078/0.5051, allocations: 89.86 kB / 0.7876 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.5051, allocations: 25.7 kB / 0.7876 GB, free: 49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.23e-05/0.5052, allocations: 80.86 kB / 0.7877 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.5052, allocations: 3.438 kB / 0.7877 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.5052, allocations: 10.75 kB / 0.7877 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.5053, allocations: 311.7 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.5053, allocations: 2.844 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.5053, allocations: 1.656 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.5054, allocations: 9.891 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5054, allocations: 1.219 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.782e-05/0.5055, allocations: 38.47 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5055, allocations: 10.94 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5055, allocations: 6.094 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.5055, allocations: 0 / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.5056, allocations: 4 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5056, allocations: 0 / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.336e-05/0.5056, allocations: 6.375 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.5056, allocations: 3.562 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB 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.016e-05/0.5057, allocations: 108 kB / 0.7882 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.5057, allocations: 2.406 kB / 0.7882 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.493e-05/0.5058, allocations: 41.91 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5058, allocations: 4.5 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5058, allocations: 0.75 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5058, allocations: 6 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.15e-05/0.5058, allocations: 146 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5059, allocations: 0.7969 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.5059, allocations: 5.938 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.5059, allocations: 0 / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.5059, allocations: 0.8906 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5059, allocations: 3.938 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5059, allocations: 0.6562 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.681e-05/0.506, allocations: 58.98 kB / 0.7884 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.506, allocations: 82.64 kB / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.506, allocations: 0 / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-06/0.506, allocations: 4.875 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.506, allocations: 0 / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.506, allocations: 4.125 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.193e-05/0.506, allocations: 79.47 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.506, allocations: 0.5938 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001888/0.5062, allocations: 5.844 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB 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.0001312/0.5064, allocations: 107.2 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.705e-05/0.5065, allocations: 5.469 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5065, allocations: 0.9688 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.5065, allocations: 3.062 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.5066, allocations: 0.5312 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001348/0.5067, allocations: 79.98 kB / 0.7888 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.795e-05/0.5068, allocations: 0.6714 MB / 0.7894 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.651e-05/0.5069, allocations: 2.875 kB / 0.7894 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.5069, allocations: 7.438 kB / 0.7895 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.5069, allocations: 2.5 kB / 0.7895 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.00178/0.5087, allocations: 301.3 kB / 0.7897 GB, free: 47.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)