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.001134/0.001134, allocations: 99.23 kB / 16.27 MB, free: 6.406 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.001203/0.001203, allocations: 188 kB / 17.2 MB, free: 5.938 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.339/1.339, allocations: 205.1 MB / 223.1 MB, free: 12.35 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.728/1.728, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001735/0.001736, allocations: 71.91 kB / 0.6722 GB, free: 6.598 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2669, allocations: 114.6 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002248/0.2692, allocations: 0.5747 MB / 0.7846 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.271, allocations: 1.276 MB / 0.7858 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.2711, allocations: 0 / 0.7858 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.2711, allocations: 3.938 kB / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-06/0.2711, allocations: 0 / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.2716, allocations: 71.73 kB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.31e-05/0.2716, allocations: 4 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.2717, allocations: 0 / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.522e-05/0.2717, allocations: 0 / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.1e-05/0.2718, allocations: 0 / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.2718, allocations: 4 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.272, allocations: 99.83 kB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.2721, allocations: 0 / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.2721, allocations: 0 / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.2722, allocations: 47.94 kB / 0.7861 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2722, allocations: 4 kB / 0.7861 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2722, allocations: 0 / 0.7861 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2723, allocations: 0 / 0.7861 GB, free: 1.82 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.0003325/0.2726, allocations: 331.6 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2726, allocations: 8.031 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.2727, allocations: 4.938 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2728, allocations: 160.4 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2728, allocations: 384 / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.2728, allocations: 8.297 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.273, allocations: 42 kB / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.273, allocations: 0 / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.273, allocations: 3.938 kB / 0.7866 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.273, allocations: 0 / 0.7866 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.273, allocations: 4 kB / 0.7866 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.2732, allocations: 145.7 kB / 0.7868 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.957e-05/0.2732, allocations: 14.58 kB / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.2733, allocations: 12.95 kB / 0.7868 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/0.2739, allocations: 0.5622 MB / 0.7873 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.2739, allocations: 34.5 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2739, allocations: 0 / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.2741, allocations: 33.64 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.2741, allocations: 51.41 kB / 0.7874 GB, free: 116 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.604e-05/0.2742, allocations: 93.98 kB / 0.7875 GB, free: 12 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.5489/0.8231, allocations: 26.86 kB / 0.7876 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.8232, allocations: 80.7 kB / 0.7876 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.8232, allocations: 1.875 kB / 0.7876 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.8233, allocations: 16.62 kB / 0.7876 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.469e-05/0.8233, allocations: 310.8 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.8234, allocations: 1.594 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.8234, allocations: 3.25 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.8234, allocations: 10.55 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8235, allocations: 1 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.372e-05/0.8235, allocations: 32.64 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.8236, allocations: 9.594 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.8236, allocations: 0.5312 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.8236, allocations: 4 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.8237, allocations: 6 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.8237, allocations: 1.312 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.889e-05/0.8237, allocations: 5.281 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.8238, allocations: 0 / 0.788 GB, free: 48.67 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.663e-05/0.8238, allocations: 111.2 kB / 0.7881 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-06/0.8238, allocations: 2.562 kB / 0.7881 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.8239, allocations: 40.78 kB / 0.7882 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.8239, allocations: 7.312 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.824, allocations: 3.719 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.824, allocations: 0 / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.572e-05/0.824, allocations: 152.2 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.824, allocations: 0 / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.8241, allocations: 2.531 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.8241, allocations: 0 / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.8241, allocations: 0 / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.8241, allocations: 6.094 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8241, allocations: 5.484 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.007e-05/0.8242, allocations: 59.77 kB / 0.7884 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.8242, allocations: 78.33 kB / 0.7885 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.8242, allocations: 0 / 0.7885 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.8242, allocations: 7.094 kB / 0.7885 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.8243, allocations: 1.469 kB / 0.7885 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.8243, allocations: 0 / 0.7885 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.859e-05/0.8243, allocations: 75.81 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8243, allocations: 2.469 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002543/0.8245, allocations: 6.562 kB / 0.7886 GB, free: 48.1 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.0001713/0.8247, allocations: 105.9 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.513e-05/0.8248, allocations: 6.906 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8248, allocations: 2.375 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.126e-06/0.8248, allocations: 6.188 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.825, allocations: 0.9375 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001814/0.8252, allocations: 101.8 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.8253, allocations: 0.6747 MB / 0.7894 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.8253, allocations: 7.438 kB / 0.7894 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.8253, allocations: 0 / 0.7894 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.001921/0.8272, allocations: 432 kB / 0.7898 GB, free: 47.2 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)