Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.794/1.794, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 183.5 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008729/0.0008728, allocations: 103.8 kB / 0.7808 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000551/0.0005512, allocations: 12 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8403/0.8409, allocations: 120.3 MB / 1.026 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2726/1.114, allocations: 142.4 MB / 1.165 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.114, allocations: 74.5 kB / 1.165 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007382/1.121, allocations: 2.21 MB / 1.168 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.007e-06/1.121, allocations: 0.9062 kB / 1.168 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.121, allocations: 3.938 kB / 1.168 GB, free: 15.59 MB / 0.7448 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.0004078/1.122, allocations: 377.8 kB / 1.168 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.122, allocations: 9.375 kB / 1.168 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.157e-05/1.122, allocations: 9.781 kB / 1.168 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/1.122, allocations: 161.6 kB / 1.168 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/1.122, allocations: 9.625 kB / 1.168 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/1.122, allocations: 1.25 kB / 1.168 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/1.122, allocations: 58.67 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.122, allocations: 192 / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/1.122, allocations: 5.656 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.122, allocations: 0 / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/1.122, allocations: 32.95 kB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/1.123, allocations: 283.1 kB / 1.168 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.166e-05/1.123, allocations: 36.09 kB / 1.169 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/1.123, allocations: 19.84 kB / 1.169 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004561/1.123, allocations: 0.5528 MB / 1.169 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/1.123, allocations: 35.02 kB / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/1.123, allocations: 5.562 kB / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002661/1.124, allocations: 70.39 kB / 1.169 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/1.124, allocations: 55.41 kB / 1.169 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.124, allocations: 119.8 kB / 1.169 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/1.124, allocations: 26.36 kB / 1.169 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/1.124, allocations: 90.38 kB / 1.169 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/1.124, allocations: 5.547 kB / 1.169 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/1.124, allocations: 4.531 kB / 1.169 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.124, allocations: 319.2 kB / 1.17 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/1.124, allocations: 13.17 kB / 1.17 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/1.124, allocations: 15.61 kB / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.797e-05/1.124, allocations: 38.11 kB / 1.17 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.124, allocations: 0 / 1.17 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001293/1.125, allocations: 57.08 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.125, allocations: 4 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.125, allocations: 1 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.125, allocations: 4.5 kB / 1.17 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/1.125, allocations: 7.531 kB / 1.17 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.125, allocations: 1.688 kB / 1.17 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/1.125, allocations: 8.703 kB / 1.17 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/1.125, allocations: 0 / 1.17 GB, free: 12.96 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.911e-05/1.125, allocations: 120.5 kB / 1.17 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/1.125, allocations: 0.7031 kB / 1.17 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/1.125, allocations: 68.95 kB / 1.17 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/1.125, allocations: 5.188 kB / 1.17 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.125, allocations: 1.125 kB / 1.17 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.125, allocations: 0.75 kB / 1.17 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/1.125, allocations: 173.4 kB / 1.17 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.125, allocations: 0.6562 kB / 1.17 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/1.125, allocations: 7.953 kB / 1.17 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.125, allocations: 0 / 1.17 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/1.125, allocations: 0.7031 kB / 1.17 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.125, allocations: 1.719 kB / 1.17 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.125, allocations: 4.703 kB / 1.17 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/1.126, allocations: 164.6 kB / 1.17 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/1.126, allocations: 78.28 kB / 1.171 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/1.126, allocations: 4 kB / 1.171 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.718e-05/1.126, allocations: 1.875 kB / 1.171 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/1.126, allocations: 6.203 kB / 1.171 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/1.126, allocations: 1.125 kB / 1.171 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.079e-05/1.126, allocations: 96.36 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.126, allocations: 0 / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002374/1.126, allocations: 25.28 kB / 1.171 GB, free: 12.18 MB / 0.7448 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 (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.0001701/1.126, allocations: 107.2 kB / 1.171 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001388/1.126, allocations: 32.39 kB / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.126, allocations: 0 / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/1.126, allocations: 18.75 kB / 1.171 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/1.127, allocations: 4 kB / 1.171 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/1.127, allocations: 146.4 kB / 1.171 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/1.127, allocations: 0.6825 MB / 1.172 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.85e-05/1.127, allocations: 4.703 kB / 1.172 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/1.127, allocations: 8.188 kB / 1.172 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/1.127, allocations: 0 / 1.172 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.002633/1.13, allocations: 432.4 kB / 1.172 GB, free: 10.91 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)