Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001123, allocations: 199.3 kB / 16.64 MB, free: 6.453 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.305/1.305, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.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.652/1.652, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.00142/0.00142, allocations: 73.06 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2005, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002533/0.2031, allocations: 1.495 MB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2041, allocations: 0.6844 MB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.2041, allocations: 0 / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.2042, allocations: 7.922 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.2042, allocations: 3.938 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.2046, allocations: 71.73 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.975e-05/0.2046, allocations: 39.91 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.2047, allocations: 16 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.2048, allocations: 15.92 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.2049, allocations: 19.91 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.2049, allocations: 4 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.205, allocations: 95.84 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.2051, allocations: 7.938 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.2051, allocations: 15.92 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.2053, allocations: 95.7 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2053, allocations: 4 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2053, allocations: 0 / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.2053, allocations: 0 / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004151/0.2057, allocations: 363.3 kB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2057, allocations: 8.031 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.2058, allocations: 12.86 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.2059, allocations: 164.3 kB / 0.7872 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2059, allocations: 4.375 kB / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.2059, allocations: 384 / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.2061, allocations: 65.92 kB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.2061, allocations: 0 / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2061, allocations: 4 kB / 0.7872 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2061, allocations: 0 / 0.7872 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.091e-05/0.2062, allocations: 27.98 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.2065, allocations: 276.7 kB / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.841e-05/0.2066, allocations: 46.44 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.2067, allocations: 8.922 kB / 0.7876 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004588/0.2072, allocations: 0.5583 MB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.2072, allocations: 34.56 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.2072, allocations: 0 / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002646/0.2075, allocations: 65.67 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2075, allocations: 55.34 kB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2076, allocations: 117.8 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2077, allocations: 29.7 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.2077, allocations: 88.08 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.2077, allocations: 11.89 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.2078, allocations: 13.72 kB / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2079, allocations: 326.9 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.2079, allocations: 7.984 kB / 0.7888 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.208, allocations: 12 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.398e-05/0.2081, allocations: 24.84 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2081, allocations: 0 / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001205/0.2082, allocations: 57.58 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2082, allocations: 8.938 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2082, allocations: 8.031 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2083, allocations: 0 / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.2083, allocations: 4 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2083, allocations: 0 / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.2084, allocations: 8 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.2084, allocations: 3.984 kB / 0.789 GB, free: 7.441 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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 6.606e-05/0.2085, allocations: 116.6 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.2085, allocations: 7.906 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.2087, allocations: 65.2 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2087, allocations: 0 / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2087, allocations: 0 / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2087, allocations: 4 kB / 0.7891 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.2088, allocations: 161.6 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2089, allocations: 3.938 kB / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.2089, allocations: 15.88 kB / 0.7893 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2089, allocations: 3.984 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2089, allocations: 4 kB / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2089, allocations: 32 / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2089, allocations: 4 kB / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.2091, allocations: 147.5 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.2091, allocations: 81.02 kB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2092, allocations: 3.984 kB / 0.7895 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.2092, allocations: 4 kB / 0.7895 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.2093, allocations: 4 kB / 0.7895 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.2093, allocations: 4.031 kB / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.2093, allocations: 99.64 kB / 0.7896 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2094, allocations: 0 / 0.7896 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002314/0.2096, allocations: 11.94 kB / 0.7897 GB, free: 6.613 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0001457/0.2097, allocations: 107.2 kB / 0.7898 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.2099, allocations: 27.92 kB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2099, allocations: 0 / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.2099, allocations: 16.06 kB / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.2102, allocations: 0 / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.2104, allocations: 138.5 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.2107, allocations: 0.6807 MB / 0.7906 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.2107, allocations: 11.97 kB / 0.7906 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.2107, allocations: 7.438 kB / 0.7906 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2107, allocations: 8 kB / 0.7906 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of Templates: time 0.002398/0.2131, allocations: 491.5 kB / 0.7911 GB, free: 5.086 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)