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.7984/0.7984, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001116/0.001116, allocations: 180.9 kB / 182.2 MB, free: 9.438 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.375/1.375, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.0008569/0.0008569, allocations: 76.17 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002532/0.002532, allocations: 276 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.588e-05, allocations: 8 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3671, allocations: 82.78 MB / 0.7574 GB, free: 31.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4916, allocations: 108.2 MB / 0.863 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4918, allocations: 83.81 kB / 0.8631 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00496/0.4968, allocations: 1.677 MB / 0.8648 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4968, allocations: 0 / 0.8648 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.4968, allocations: 0 / 0.8648 GB, free: 1.898 MB / 0.5261 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.0002198/0.4971, allocations: 334.4 kB / 0.8651 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4971, allocations: 15.97 kB / 0.8651 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.4971, allocations: 0 / 0.8651 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.178e-05/0.4972, allocations: 163.1 kB / 0.8652 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4972, allocations: 3.953 kB / 0.8653 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.4973, allocations: 4 kB / 0.8653 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.123e-05/0.4973, allocations: 4 kB / 0.8653 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.706e-05/0.4974, allocations: 25.7 kB / 0.8653 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.4974, allocations: 0 / 0.8653 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.4974, allocations: 0 / 0.8653 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.4974, allocations: 4 kB / 0.8653 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.4975, allocations: 126.2 kB / 0.8654 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 2.99e-05/0.4975, allocations: 18.52 kB / 0.8654 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.4976, allocations: 12.95 kB / 0.8654 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004222/0.498, allocations: 0.5622 MB / 0.866 GB, free: 380 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.498, allocations: 38.52 kB / 0.866 GB, free: 332 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.498, allocations: 0 / 0.866 GB, free: 332 kB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001237/0.4982, allocations: 29.7 kB / 0.8661 GB, free: 296 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.4982, allocations: 51.41 kB / 0.8661 GB, free: 232 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.936e-05/0.4982, allocations: 89 kB / 0.8662 GB, free: 136 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.4983, allocations: 25.7 kB / 0.8662 GB, free: 104 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.4983, allocations: 80.14 kB / 0.8663 GB, free: 20 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.4983, allocations: 7.938 kB / 0.8663 GB, free: 12 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-06/0.4983, allocations: 0 / 0.8663 GB, free: 12 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4985, allocations: 318.9 kB / 0.8666 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-06/0.4985, allocations: 0 / 0.8666 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-06/0.4985, allocations: 3.938 kB / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.4985, allocations: 4 kB / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4985, allocations: 0 / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.027e-05/0.4986, allocations: 29.7 kB / 0.8666 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.4986, allocations: 8 kB / 0.8666 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4986, allocations: 0 / 0.8666 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4986, allocations: 8.031 kB / 0.8666 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.912e-05/0.4987, allocations: 4 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4987, allocations: 4 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.4987, allocations: 0 / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.4987, allocations: 0 / 0.8667 GB, free: 15.62 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 (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 6.142e-05/0.4988, allocations: 104.9 kB / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.4988, allocations: 0 / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.4989, allocations: 57.22 kB / 0.8668 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.4989, allocations: 3.984 kB / 0.8668 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4989, allocations: 3.953 kB / 0.8668 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.4989, allocations: 0 / 0.8668 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.485e-05/0.499, allocations: 122.2 kB / 0.8669 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.499, allocations: 0 / 0.8669 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.507e-05/0.499, allocations: 4 kB / 0.8669 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4991, allocations: 0 / 0.8669 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.4991, allocations: 0 / 0.8669 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4991, allocations: 0 / 0.8669 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4991, allocations: 3.984 kB / 0.8669 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.354e-05/0.4992, allocations: 65.12 kB / 0.867 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.4992, allocations: 77.11 kB / 0.8671 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.4992, allocations: 0 / 0.8671 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-06/0.4992, allocations: 0 / 0.8671 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.4992, allocations: 7.984 kB / 0.8671 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.4993, allocations: 0 / 0.8671 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.835e-05/0.4993, allocations: 83.16 kB / 0.8672 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4993, allocations: 4.031 kB / 0.8672 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001811/0.4995, allocations: 8 kB / 0.8672 GB, free: 15 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 (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.0001272/0.4996, allocations: 107.2 kB / 0.8673 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.557e-05/0.4997, allocations: 4 kB / 0.8673 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.4997, allocations: 0 / 0.8673 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-06/0.4997, allocations: 0 / 0.8673 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.239e-05/0.4998, allocations: 10 kB / 0.8673 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001259/0.4999, allocations: 57.56 kB / 0.8673 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.5001, allocations: 0.6728 MB / 0.868 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.5001, allocations: 4 kB / 0.868 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.052e-05/0.5002, allocations: 7.438 kB / 0.868 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5002, allocations: 0 / 0.868 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.001701/0.5019, allocations: 279.8 kB / 0.8683 GB, free: 13.82 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)