Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5253/0.5253, allocations: 95.62 MB / 110.6 MB, free: 9.391 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.001371/0.001371, allocations: 164.2 kB / 134.2 MB, free: 2.293 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.286/1.286, allocations: 170.7 MB / 328.4 MB, free: 12.29 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.001699/0.001698, allocations: 107 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003844, allocations: 16 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1292, allocations: 61.52 MB / 0.512 GB, free: 6.113 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4249/0.5542, allocations: 95.03 MB / 0.6048 GB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5545, allocations: 76.08 kB / 0.6048 GB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00542/0.56, allocations: 1.776 MB / 0.6066 GB, free: 10.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.56, allocations: 0 / 0.6066 GB, free: 10.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.56, allocations: 0 / 0.6066 GB, free: 10.69 MB / 410.7 MB 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.0003728/0.5604, allocations: 372.8 kB / 0.6069 GB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.5605, allocations: 11.98 kB / 0.6069 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.5605, allocations: 7.906 kB / 0.6069 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.5606, allocations: 171 kB / 0.6071 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.5607, allocations: 0.625 kB / 0.6071 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.5607, allocations: 7.5 kB / 0.6071 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.5609, allocations: 63.47 kB / 0.6072 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5609, allocations: 0 / 0.6072 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.5609, allocations: 0 / 0.6072 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.5609, allocations: 4 kB / 0.6072 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.463e-05/0.561, allocations: 30.67 kB / 0.6072 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.5615, allocations: 292.4 kB / 0.6075 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.068e-05/0.5616, allocations: 33.69 kB / 0.6075 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000484/0.5621, allocations: 0.5584 MB / 0.6081 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.5621, allocations: 36.06 kB / 0.6081 GB, free: 8.883 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 3.136e-06/0.5621, allocations: 3.984 kB / 0.6081 GB, free: 8.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002595/0.5624, allocations: 75.89 kB / 0.6082 GB, free: 8.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.5624, allocations: 55.53 kB / 0.6082 GB, free: 8.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.5625, allocations: 111.8 kB / 0.6083 GB, free: 8.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.5625, allocations: 25.7 kB / 0.6084 GB, free: 8.594 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.5626, allocations: 90.75 kB / 0.6084 GB, free: 8.508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.5626, allocations: 7.906 kB / 0.6085 GB, free: 8.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.5626, allocations: 0 / 0.6085 GB, free: 8.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5628, allocations: 314.3 kB / 0.6088 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-05/0.5628, allocations: 11.98 kB / 0.6088 GB, free: 8.176 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.5628, allocations: 15.31 kB / 0.6088 GB, free: 8.164 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.5629, allocations: 11.98 kB / 0.6088 GB, free: 8.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5629, allocations: 3.953 kB / 0.6088 GB, free: 8.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001254/0.563, allocations: 60.25 kB / 0.6089 GB, free: 8.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5631, allocations: 4 kB / 0.6089 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5631, allocations: 8.094 kB / 0.6089 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5631, allocations: 0 / 0.6089 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.5632, allocations: 7.984 kB / 0.6089 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5632, allocations: 0 / 0.6089 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.5632, allocations: 4 kB / 0.6089 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.5632, allocations: 0 / 0.6089 GB, free: 8.066 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.466e-05/0.5633, allocations: 115.7 kB / 0.609 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.5633, allocations: 11.8 kB / 0.609 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.5635, allocations: 75.47 kB / 0.6091 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5635, allocations: 0 / 0.6091 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5635, allocations: 0 / 0.6091 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5636, allocations: 0 / 0.6091 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.5637, allocations: 167.3 kB / 0.6092 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5637, allocations: 3.984 kB / 0.6092 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.5638, allocations: 7.953 kB / 0.6092 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5638, allocations: 4.031 kB / 0.6092 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.5638, allocations: 10.62 kB / 0.6093 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5638, allocations: 0 / 0.6093 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5638, allocations: 0 / 0.6093 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.564, allocations: 153.6 kB / 0.6094 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.564, allocations: 85.05 kB / 0.6095 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.5641, allocations: 7.984 kB / 0.6095 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.5641, allocations: 11.17 kB / 0.6095 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.5642, allocations: 3.938 kB / 0.6095 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.5642, allocations: 0 / 0.6095 GB, free: 7.355 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.154e-05/0.5642, allocations: 98.95 kB / 0.6096 GB, free: 7.266 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5643, allocations: 0 / 0.6096 GB, free: 7.266 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.5645, allocations: 12 kB / 0.6096 GB, free: 7.254 MB / 410.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 () * 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 (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.0001612/0.5646, allocations: 111.2 kB / 0.6097 GB, free: 7.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.5648, allocations: 31.42 kB / 0.6097 GB, free: 7.109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5648, allocations: 0 / 0.6097 GB, free: 7.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.337e-05/0.5648, allocations: 11.06 kB / 0.6098 GB, free: 7.102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.565, allocations: 4 kB / 0.6098 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.5653, allocations: 159.7 kB / 0.6099 GB, free: 6.918 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.5656, allocations: 0.6887 MB / 0.6106 GB, free: 6.203 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.5656, allocations: 4 kB / 0.6106 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.5656, allocations: 7.438 kB / 0.6106 GB, free: 6.191 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5656, allocations: 0 / 0.6106 GB, free: 6.191 MB / 410.7 MB Notification: Performance of Templates: time 0.00226/0.5679, allocations: 421 kB / 0.611 GB, free: 5.793 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)