Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009013/0.0009014, allocations: 176.9 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000741/0.0007408, allocations: 94.34 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 11.56 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1604, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001278/0.1617, allocations: 1.231 MB / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007992/0.1626, allocations: 0.7003 MB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.1626, allocations: 0 / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.1626, allocations: 3.938 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.1627, allocations: 0 / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1629, allocations: 63.8 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.882e-05/0.163, allocations: 27.92 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.961e-05/0.1631, allocations: 23.92 kB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.735e-05/0.1631, allocations: 11.94 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.1632, allocations: 11.92 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-06/0.1632, allocations: 4 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1633, allocations: 99.89 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.1633, allocations: 7.938 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.1634, allocations: 11.88 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1635, allocations: 91.75 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1635, allocations: 0 / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1635, allocations: 0 / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.1635, allocations: 0 / 0.899 GB, free: 65.86 MB / 0.6042 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.0002954/0.1638, allocations: 351.3 kB / 0.8993 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1638, allocations: 8.031 kB / 0.8993 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.1639, allocations: 8.938 kB / 0.8993 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.284e-05/0.164, allocations: 168.3 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.164, allocations: 4.375 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.164, allocations: 4.375 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1641, allocations: 57.98 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1641, allocations: 0 / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.1641, allocations: 0 / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1642, allocations: 4 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.869e-05/0.1642, allocations: 31.92 kB / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.1645, allocations: 284.7 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.1646, allocations: 30.56 kB / 0.8999 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.1646, allocations: 16.92 kB / 0.8999 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.1649, allocations: 0.5622 MB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.1649, allocations: 38.56 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.1649, allocations: 0 / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001926/0.1651, allocations: 69.61 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.093e-05/0.1651, allocations: 51.53 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.659e-05/0.1652, allocations: 121.8 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.1652, allocations: 25.7 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.11e-05/0.1652, allocations: 96.05 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.1653, allocations: 8.047 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.1653, allocations: 9.719 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.561e-05/0.1653, allocations: 322.7 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.694e-05/0.1654, allocations: 11.98 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.1654, allocations: 19.94 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.295e-05/0.1655, allocations: 28.84 kB / 0.9012 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1655, allocations: 0 / 0.9012 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.477e-05/0.1656, allocations: 61.59 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.1656, allocations: 8.094 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1656, allocations: 3.984 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1656, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.1657, allocations: 8 kB / 0.9013 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1657, allocations: 0 / 0.9013 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.1657, allocations: 0 / 0.9013 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1657, allocations: 4 kB / 0.9013 GB, free: 63.13 MB / 0.6042 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 4.258e-05/0.1658, allocations: 121.7 kB / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1658, allocations: 11.91 kB / 0.9014 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.166, allocations: 65.2 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.166, allocations: 0 / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.166, allocations: 0 / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.166, allocations: 85.09 kB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.166, allocations: 3.938 kB / 0.9016 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.1661, allocations: 0 / 0.9016 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.1661, allocations: 12.02 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001116/0.1662, allocations: 132.9 kB / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001126/0.1663, allocations: 234.8 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.867e-05/0.1664, allocations: 19.98 kB / 0.9019 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.68e-05/0.1664, allocations: 95.59 kB / 0.902 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of Backend: time 1.71e-07/0.1664, allocations: 0 / 0.902 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.1668, allocations: 114.4 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002328/0.167, allocations: 0.5879 MB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.00207/0.1691, allocations: 0.7035 MB / 0.9034 GB, free: 60.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)