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.5298/0.5298, allocations: 94.78 MB / 102.2 MB, free: 10.15 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.001326/0.001326, allocations: 176.4 kB / 125.6 MB, free: 11.88 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.595/1.595, allocations: 170.6 MB / 319.4 MB, free: 9.277 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.00173/0.00173, allocations: 102.4 kB / 381.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.999e-05, allocations: 4 kB / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1572, allocations: 61.52 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4326/0.5898, allocations: 94.27 MB / 0.5907 GB, free: 7.672 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.5901, allocations: 68.47 kB / 0.5908 GB, free: 7.605 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005407/0.5955, allocations: 1.76 MB / 0.5925 GB, free: 5.883 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5956, allocations: 0 / 0.5925 GB, free: 5.883 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.5956, allocations: 4.938 kB / 0.5925 GB, free: 5.879 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.0003181/0.5959, allocations: 357.5 kB / 0.5929 GB, free: 5.488 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.596, allocations: 8.938 kB / 0.5929 GB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.596, allocations: 9.25 kB / 0.5929 GB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.5961, allocations: 171.6 kB / 0.593 GB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.5961, allocations: 0.6875 kB / 0.593 GB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.5962, allocations: 9.188 kB / 0.593 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.742e-05/0.5962, allocations: 13.12 kB / 0.5931 GB, free: 5.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.354e-05/0.5963, allocations: 42.38 kB / 0.5931 GB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5964, allocations: 5.125 kB / 0.5931 GB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.5964, allocations: 0 / 0.5931 GB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5964, allocations: 1.438 kB / 0.5931 GB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.5967, allocations: 261.4 kB / 0.5934 GB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.682e-05/0.5968, allocations: 27.11 kB / 0.5934 GB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.5968, allocations: 9.516 kB / 0.5934 GB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004421/0.5972, allocations: 0.5516 MB / 0.5939 GB, free: 4.184 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.5973, allocations: 39.72 kB / 0.594 GB, free: 4.137 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.5973, allocations: 4 kB / 0.594 GB, free: 4.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.5975, allocations: 46.34 kB / 0.594 GB, free: 4.082 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.5975, allocations: 54.25 kB / 0.5941 GB, free: 4.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.5976, allocations: 102.6 kB / 0.5942 GB, free: 3.914 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.5976, allocations: 25.7 kB / 0.5942 GB, free: 3.883 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.5977, allocations: 92.06 kB / 0.5943 GB, free: 3.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.5977, allocations: 7.906 kB / 0.5943 GB, free: 3.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.5977, allocations: 0.875 kB / 0.5943 GB, free: 3.781 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5979, allocations: 315.1 kB / 0.5946 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.5979, allocations: 11.98 kB / 0.5946 GB, free: 3.457 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/0.5979, allocations: 0 / 0.5946 GB, free: 3.457 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.5979, allocations: 10.56 kB / 0.5946 GB, free: 3.449 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5979, allocations: 4 kB / 0.5946 GB, free: 3.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.26e-05/0.598, allocations: 53.58 kB / 0.5947 GB, free: 3.387 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.5981, allocations: 4 kB / 0.5947 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.5981, allocations: 2.812 kB / 0.5947 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.5981, allocations: 0.6562 kB / 0.5947 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.5982, allocations: 7.781 kB / 0.5947 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5982, allocations: 4 kB / 0.5947 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.5982, allocations: 3.906 kB / 0.5947 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.5982, allocations: 3.984 kB / 0.5947 GB, free: 3.367 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 () * 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.81e-05/0.5983, allocations: 105 kB / 0.5948 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.5983, allocations: 3.953 kB / 0.5948 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.5985, allocations: 53.61 kB / 0.5948 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5985, allocations: 6.125 kB / 0.5948 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.5985, allocations: 3.938 kB / 0.5948 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5985, allocations: 4 kB / 0.5949 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.5987, allocations: 145.3 kB / 0.595 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5987, allocations: 160 / 0.595 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.5987, allocations: 12 kB / 0.595 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5988, allocations: 0 / 0.595 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.5988, allocations: 7.938 kB / 0.595 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5988, allocations: 0 / 0.595 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5988, allocations: 0.7656 kB / 0.595 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.5989, allocations: 143.5 kB / 0.5951 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.599, allocations: 81.11 kB / 0.5952 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.599, allocations: 4.031 kB / 0.5952 GB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.224e-05/0.5991, allocations: 7.953 kB / 0.5952 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.5991, allocations: 3.984 kB / 0.5952 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.5991, allocations: 0 / 0.5952 GB, free: 2.723 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.887e-05/0.5992, allocations: 91.33 kB / 0.5953 GB, free: 2.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.5992, allocations: 0 / 0.5953 GB, free: 2.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.5994, allocations: 19.88 kB / 0.5953 GB, free: 2.617 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 () * 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.0001527/0.5996, allocations: 107.3 kB / 0.5954 GB, free: 2.504 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.871e-05/0.5996, allocations: 16 kB / 0.5955 GB, free: 2.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.5996, allocations: 0 / 0.5955 GB, free: 2.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.892e-05/0.5997, allocations: 8 kB / 0.5955 GB, free: 2.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.5998, allocations: 0 / 0.5955 GB, free: 2.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.6, allocations: 72.53 kB / 0.5955 GB, free: 2.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.6003, allocations: 0.6893 MB / 0.5962 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.527e-05/0.6004, allocations: 8.062 kB / 0.5962 GB, free: 1.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.6004, allocations: 7.438 kB / 0.5962 GB, free: 1.668 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6004, allocations: 0 / 0.5962 GB, free: 1.668 MB / 410.7 MB Notification: Performance of Templates: time 0.002168/0.6026, allocations: 367.7 kB / 0.5966 GB, free: 1.332 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)