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.7793/0.7793, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 181.1 kB / 191.5 MB, free: 5.789 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.48/1.48, allocations: 223.2 MB / 447.7 MB, free: 4.844 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.0008988/0.000899, allocations: 96.25 kB / 0.5188 GB, free: 1.207 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 270.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005333/0.0005333, allocations: 13.12 kB / 0.6929 GB, free: 59.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2004, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6264/0.8268, allocations: 109.8 MB / 0.881 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.8271, allocations: 83.3 kB / 0.881 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.006231/0.8334, allocations: 2.202 MB / 0.8832 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8334, allocations: 0 / 0.8832 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.8334, allocations: 3 kB / 0.8832 GB, free: 31.12 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.0003612/0.8338, allocations: 370 kB / 0.8835 GB, free: 30.74 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.8339, allocations: 8.781 kB / 0.8835 GB, free: 30.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.8339, allocations: 7.531 kB / 0.8836 GB, free: 30.74 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.834, allocations: 167.6 kB / 0.8837 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.834, allocations: 10.3 kB / 0.8837 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.8341, allocations: 1.031 kB / 0.8837 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.8342, allocations: 58.59 kB / 0.8838 GB, free: 30.51 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.8342, allocations: 0 / 0.8838 GB, free: 30.51 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.8343, allocations: 0 / 0.8838 GB, free: 30.51 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.8343, allocations: 7.938 kB / 0.8838 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.8344, allocations: 39.17 kB / 0.8838 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.8347, allocations: 284.6 kB / 0.8841 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.016e-05/0.8348, allocations: 35.11 kB / 0.8841 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/0.8352, allocations: 0.5565 MB / 0.8847 GB, free: 29.53 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.8352, allocations: 34.88 kB / 0.8847 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.8352, allocations: 0 / 0.8847 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002705/0.8355, allocations: 73.7 kB / 0.8848 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.8355, allocations: 52.67 kB / 0.8848 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.8356, allocations: 110.7 kB / 0.8849 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.8356, allocations: 25.7 kB / 0.885 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.8357, allocations: 95.14 kB / 0.885 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.8357, allocations: 4.703 kB / 0.8851 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.8357, allocations: 0 / 0.8851 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.8358, allocations: 323.8 kB / 0.8854 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.8358, allocations: 11.86 kB / 0.8854 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.087e-05/0.8359, allocations: 11.56 kB / 0.8854 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/0.8359, allocations: 9.859 kB / 0.8854 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8359, allocations: 0 / 0.8854 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001095/0.836, allocations: 73.52 kB / 0.8855 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.8361, allocations: 5.094 kB / 0.8855 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.8361, allocations: 0 / 0.8855 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.8361, allocations: 0 / 0.8855 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.175e-05/0.8362, allocations: 5.906 kB / 0.8855 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.8362, allocations: 0 / 0.8855 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.8362, allocations: 7 kB / 0.8855 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.8362, allocations: 0 / 0.8855 GB, free: 28.82 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 () * 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 6.311e-05/0.8363, allocations: 120.3 kB / 0.8856 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.8363, allocations: 10.22 kB / 0.8856 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.8365, allocations: 62.11 kB / 0.8857 GB, free: 28.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.8365, allocations: 0 / 0.8857 GB, free: 28.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8365, allocations: 0 / 0.8857 GB, free: 28.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.8365, allocations: 6.547 kB / 0.8857 GB, free: 28.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.8367, allocations: 174.2 kB / 0.8858 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8367, allocations: 6.594 kB / 0.8858 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.8367, allocations: 5.781 kB / 0.8858 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8367, allocations: 0 / 0.8858 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.8367, allocations: 3.875 kB / 0.8859 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8368, allocations: 0 / 0.8859 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8368, allocations: 0 / 0.8859 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.8369, allocations: 164.6 kB / 0.886 GB, free: 28.31 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.8369, allocations: 80.44 kB / 0.8861 GB, free: 28.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.837, allocations: 0 / 0.8861 GB, free: 28.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.837, allocations: 6.844 kB / 0.8861 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.8371, allocations: 4.781 kB / 0.8861 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.8371, allocations: 0 / 0.8861 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.8371, allocations: 97.14 kB / 0.8862 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8371, allocations: 0 / 0.8862 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002193/0.8374, allocations: 19.34 kB / 0.8862 GB, free: 28.13 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 () * 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.001165/0.8385, allocations: 110.1 kB / 0.8863 GB, free: 44.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.8387, allocations: 29.62 kB / 0.8863 GB, free: 44.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8387, allocations: 0 / 0.8863 GB, free: 44.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.8387, allocations: 12.59 kB / 0.8864 GB, free: 44.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.8389, allocations: 9.828 kB / 0.8864 GB, free: 44.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.8393, allocations: 143.9 kB / 0.8865 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.8396, allocations: 0.6918 MB / 0.8872 GB, free: 43.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.8396, allocations: 2.781 kB / 0.8872 GB, free: 43.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.8396, allocations: 10.31 kB / 0.8872 GB, free: 43.2 MB / 0.5573 GB Notification: Performance of SimCode: time 3.11e-07/0.8396, allocations: 4 kB / 0.8872 GB, free: 43.19 MB / 0.5573 GB Notification: Performance of Templates: time 0.002488/0.8421, allocations: 432.7 kB / 0.8876 GB, free: 43.14 MB / 0.5573 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)