Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7618/0.7618, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 184.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.3 MB / 441.4 MB, free: 4.656 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.0009531, allocations: 100 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 264 kB / 0.5939 GB, free: 7.996 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.614e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4515, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.5762, allocations: 109.8 MB / 0.8715 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.5765, allocations: 83.77 kB / 0.8715 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.006788/0.5833, allocations: 2.185 MB / 0.8737 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5833, allocations: 0 / 0.8737 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5833, allocations: 0 / 0.8737 GB, free: 12.54 MB / 0.5417 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.0003708/0.5837, allocations: 362.4 kB / 0.874 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5838, allocations: 8.031 kB / 0.874 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.5838, allocations: 11.91 kB / 0.874 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.584, allocations: 171 kB / 0.8742 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.584, allocations: 7.953 kB / 0.8742 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.584, allocations: 0 / 0.8742 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.5842, allocations: 49.69 kB / 0.8743 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.5842, allocations: 0 / 0.8743 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5842, allocations: 0 / 0.8743 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.5842, allocations: 4 kB / 0.8743 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.791e-05/0.5843, allocations: 22.2 kB / 0.8743 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.5847, allocations: 284.8 kB / 0.8746 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/0.5848, allocations: 26.58 kB / 0.8746 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.5848, allocations: 8.922 kB / 0.8746 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004857/0.5853, allocations: 0.5544 MB / 0.8751 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.5854, allocations: 38.56 kB / 0.8752 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.5854, allocations: 4 kB / 0.8752 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001736/0.5855, allocations: 49.59 kB / 0.8752 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.5856, allocations: 51.41 kB / 0.8753 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.5857, allocations: 108.9 kB / 0.8754 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.5857, allocations: 29.7 kB / 0.8754 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.5858, allocations: 88.12 kB / 0.8755 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.5858, allocations: 11.78 kB / 0.8755 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.5858, allocations: 4 kB / 0.8755 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.586, allocations: 322.8 kB / 0.8758 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.586, allocations: 7.984 kB / 0.8758 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/0.586, allocations: 8 kB / 0.8758 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.041e-05/0.586, allocations: 3.938 kB / 0.8758 GB, free: 10 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.586, allocations: 4 kB / 0.8758 GB, free: 10 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.991e-05/0.5861, allocations: 41.7 kB / 0.8759 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5861, allocations: 4 kB / 0.8759 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5862, allocations: 3.984 kB / 0.8759 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5862, allocations: 4.094 kB / 0.8759 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.5863, allocations: 8 kB / 0.8759 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5863, allocations: 0 / 0.8759 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.637e-05/0.5863, allocations: 3.906 kB / 0.8759 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5863, allocations: 4 kB / 0.8759 GB, free: 9.926 MB / 0.5417 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 () * 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 8.08e-05/0.5864, allocations: 108.9 kB / 0.876 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.5865, allocations: 7.984 kB / 0.876 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.5866, allocations: 57.28 kB / 0.8761 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5866, allocations: 0 / 0.8761 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5866, allocations: 0 / 0.8761 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.5866, allocations: 0 / 0.8761 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.5868, allocations: 173.7 kB / 0.8762 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5868, allocations: 0 / 0.8762 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.872e-05/0.5868, allocations: 8 kB / 0.8762 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.5869, allocations: 3.984 kB / 0.8762 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.5869, allocations: 4 kB / 0.8762 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5869, allocations: 0 / 0.8762 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5869, allocations: 0 / 0.8762 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.587, allocations: 155.4 kB / 0.8764 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.5871, allocations: 81.09 kB / 0.8765 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.5871, allocations: 4 kB / 0.8765 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.5872, allocations: 0 / 0.8765 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.5873, allocations: 7.938 kB / 0.8765 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.5873, allocations: 0 / 0.8765 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.451e-05/0.5874, allocations: 99.3 kB / 0.8766 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5874, allocations: 0 / 0.8766 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002314/0.5876, allocations: 11.91 kB / 0.8766 GB, free: 9.125 MB / 0.5417 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 () * 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.0001704/0.5878, allocations: 111.2 kB / 0.8767 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.749e-05/0.5879, allocations: 19.98 kB / 0.8767 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5879, allocations: 0 / 0.8767 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.189e-05/0.5879, allocations: 7.938 kB / 0.8767 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.5881, allocations: 12.66 kB / 0.8767 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.5883, allocations: 73.3 kB / 0.8768 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.5886, allocations: 0.6848 MB / 0.8775 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.5886, allocations: 4 kB / 0.8775 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.5887, allocations: 7.438 kB / 0.8775 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.5887, allocations: 0 / 0.8775 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of Templates: time 0.002458/0.5911, allocations: 438.3 kB / 0.8779 GB, free: 7.738 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)