Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8349/0.8349, allocations: 143.4 MB / 158.3 MB, free: 5.766 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.001149/0.001149, allocations: 179.3 kB / 191.5 MB, free: 5.766 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.513/1.513, allocations: 223.2 MB / 447.7 MB, free: 4.809 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.0009186/0.0009187, allocations: 92.27 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 270.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.000435, allocations: 13.41 kB / 0.6929 GB, free: 59.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1452, allocations: 82.8 MB / 0.7737 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.285, allocations: 108.9 MB / 0.8801 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.2852, allocations: 85.97 kB / 0.8802 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3044/0.5897, allocations: 1.694 MB / 0.8818 GB, free: 109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5897, allocations: 3.938 kB / 0.8818 GB, free: 109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.5898, allocations: 3.938 kB / 0.8818 GB, free: 109 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002854/0.59, allocations: 331 kB / 0.8822 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5901, allocations: 9.453 kB / 0.8822 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.5901, allocations: 0.5 kB / 0.8822 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.392e-05/0.5902, allocations: 162.8 kB / 0.8823 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.5902, allocations: 11.48 kB / 0.8823 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.5903, allocations: 0 / 0.8823 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.5904, allocations: 26.45 kB / 0.8824 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.5904, allocations: 4.219 kB / 0.8824 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.5904, allocations: 0 / 0.8824 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5904, allocations: 0 / 0.8824 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.5904, allocations: 0 / 0.8824 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.5906, allocations: 152.7 kB / 0.8825 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.801e-05/0.5906, allocations: 24.27 kB / 0.8825 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/0.591, allocations: 0.5592 MB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.591, allocations: 34 kB / 0.8831 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.5911, allocations: 2.75 kB / 0.8831 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001581/0.5912, allocations: 31.17 kB / 0.8831 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.5913, allocations: 54.34 kB / 0.8832 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.711e-05/0.5913, allocations: 89.12 kB / 0.8833 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.5913, allocations: 25.7 kB / 0.8833 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.298e-05/0.5913, allocations: 83.73 kB / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.5914, allocations: 3.938 kB / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.5914, allocations: 0 / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.5915, allocations: 320.2 kB / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.5915, allocations: 0 / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-06/0.5915, allocations: 4.5 kB / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.91e-05/0.5915, allocations: 2.5 kB / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5915, allocations: 4.062 kB / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.193e-05/0.5916, allocations: 34.58 kB / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5916, allocations: 5.719 kB / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5916, allocations: 4.812 kB / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5916, allocations: 7.578 kB / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.5917, allocations: 0 / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.5917, allocations: 0 / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.5917, allocations: 1.984 kB / 0.8838 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.5917, allocations: 3.688 kB / 0.8838 GB, free: 106.9 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 (1): * Single equations (assignments): 1 * 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 5.604e-05/0.5918, allocations: 113.7 kB / 0.8839 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.5918, allocations: 0.9375 kB / 0.8839 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/0.5919, allocations: 45.91 kB / 0.8839 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5919, allocations: 3.953 kB / 0.8839 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5919, allocations: 0 / 0.8839 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5919, allocations: 0 / 0.8839 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.96e-05/0.592, allocations: 155.2 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.592, allocations: 32 / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.592, allocations: 5.375 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.592, allocations: 2.625 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.592, allocations: 0 / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.592, allocations: 0 / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5921, allocations: 7.938 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.577e-05/0.5921, allocations: 54.22 kB / 0.8841 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.5921, allocations: 83.33 kB / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.5922, allocations: 4.031 kB / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.5922, allocations: 0.7031 kB / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.5922, allocations: 7.891 kB / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.5922, allocations: 2.75 kB / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.59e-05/0.5922, allocations: 78.91 kB / 0.8843 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5922, allocations: 0 / 0.8843 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002092/0.5925, allocations: 5.75 kB / 0.8843 GB, free: 106.3 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 (1): * Single equations (assignments): 1 * 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.0001757/0.5926, allocations: 108.1 kB / 0.8844 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.65e-05/0.5927, allocations: 6.906 kB / 0.8844 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5927, allocations: 6.312 kB / 0.8844 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.5927, allocations: 2.438 kB / 0.8844 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.938e-05/0.5928, allocations: 0 / 0.8844 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000165/0.593, allocations: 80.3 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.5931, allocations: 0.6692 MB / 0.8852 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.5932, allocations: 14.25 kB / 0.8852 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.084e-05/0.5932, allocations: 7.438 kB / 0.8852 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.5932, allocations: 0 / 0.8852 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.002085/0.5953, allocations: 276.9 kB / 0.8854 GB, free: 105.3 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)