Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5372/0.5372, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 92.22 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 12 kB / 0.4983 GB, free: 42.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1619, allocations: 72.31 MB / 0.5689 GB, free: 1.914 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5441/0.7061, allocations: 101.8 MB / 0.6683 GB, free: 2.645 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.7064, allocations: 87.94 kB / 0.6684 GB, free: 2.559 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004858/0.7112, allocations: 1.722 MB / 0.6701 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7113, allocations: 0 / 0.6701 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.7113, allocations: 0 / 0.6701 GB, free: 0.8516 MB / 458.7 MB 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.0003392/0.7116, allocations: 347.3 kB / 0.6704 GB, free: 476 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.7117, allocations: 8.031 kB / 0.6704 GB, free: 468 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.7117, allocations: 3.953 kB / 0.6704 GB, free: 464 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/0.7118, allocations: 163.1 kB / 0.6706 GB, free: 260 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.7118, allocations: 0 / 0.6706 GB, free: 260 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.7118, allocations: 0 / 0.6706 GB, free: 260 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.76e-05/0.7119, allocations: 25.7 kB / 0.6706 GB, free: 228 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.712, allocations: 0 / 0.6706 GB, free: 228 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.712, allocations: 0 / 0.6706 GB, free: 228 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.712, allocations: 11.94 kB / 0.6706 GB, free: 216 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.712, allocations: 8.625 kB / 0.6706 GB, free: 208 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.7122, allocations: 145.7 kB / 0.6708 GB, free: 12 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.933e-05/0.7122, allocations: 18.61 kB / 0.6708 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.7127, allocations: 0.5584 MB / 0.6713 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.7127, allocations: 34.56 kB / 0.6713 GB, free: 15.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/0.7128, allocations: 0 / 0.6713 GB, free: 15.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.7129, allocations: 37.62 kB / 0.6714 GB, free: 15.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.7129, allocations: 51.41 kB / 0.6714 GB, free: 15.15 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.116e-05/0.713, allocations: 89 kB / 0.6715 GB, free: 15.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.713, allocations: 25.7 kB / 0.6715 GB, free: 15.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.713, allocations: 84.08 kB / 0.6716 GB, free: 14.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.7131, allocations: 4.531 kB / 0.6716 GB, free: 14.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.7131, allocations: 128 / 0.6716 GB, free: 14.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7132, allocations: 326.7 kB / 0.6719 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-06/0.7132, allocations: 0 / 0.6719 GB, free: 14.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.7132, allocations: 4 kB / 0.6719 GB, free: 14.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.43e-05/0.7132, allocations: 0 / 0.6719 GB, free: 14.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7132, allocations: 0 / 0.6719 GB, free: 14.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.852e-05/0.7133, allocations: 37.62 kB / 0.672 GB, free: 14.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7133, allocations: 8 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.7133, allocations: 0 / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.7133, allocations: 4.094 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.631e-05/0.7134, allocations: 2 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.7134, allocations: 4 kB / 0.672 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.085e-05/0.7134, allocations: 0 / 0.672 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.7134, allocations: 0 / 0.672 GB, free: 14.54 MB / 474.7 MB 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 6.223e-05/0.7135, allocations: 109.8 kB / 0.6721 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.7135, allocations: 4 kB / 0.6721 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.639e-05/0.7136, allocations: 44.81 kB / 0.6721 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.7136, allocations: 0 / 0.6721 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7136, allocations: 3.938 kB / 0.6721 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7136, allocations: 3.984 kB / 0.6722 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.525e-05/0.7137, allocations: 153.6 kB / 0.6723 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.7137, allocations: 0 / 0.6723 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.7138, allocations: 4 kB / 0.6723 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.7138, allocations: 0 / 0.6723 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.7138, allocations: 4 kB / 0.6723 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.7138, allocations: 0 / 0.6723 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7138, allocations: 0 / 0.6723 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.425e-05/0.7139, allocations: 69.11 kB / 0.6724 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.7139, allocations: 77.11 kB / 0.6724 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.7139, allocations: 0 / 0.6724 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-06/0.7139, allocations: 0 / 0.6724 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.714, allocations: 4 kB / 0.6724 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.714, allocations: 0 / 0.6724 GB, free: 13.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.62e-05/0.714, allocations: 75.28 kB / 0.6725 GB, free: 13.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.714, allocations: 4.031 kB / 0.6725 GB, free: 13.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001931/0.7142, allocations: 4 kB / 0.6725 GB, free: 13.89 MB / 474.7 MB 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.0001758/0.7144, allocations: 127 kB / 0.6727 GB, free: 13.76 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.112e-05/0.7145, allocations: 4 kB / 0.6727 GB, free: 13.76 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7145, allocations: 0 / 0.6727 GB, free: 13.76 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.761e-06/0.7145, allocations: 0 / 0.6727 GB, free: 13.76 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.423e-05/0.7146, allocations: 11.89 kB / 0.6727 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001658/0.7147, allocations: 71.39 kB / 0.6727 GB, free: 13.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.715, allocations: 0.677 MB / 0.6734 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.934e-05/0.715, allocations: 0 / 0.6734 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.715, allocations: 7.438 kB / 0.6734 GB, free: 12.94 MB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/0.715, allocations: 0 / 0.6734 GB, free: 12.94 MB / 474.7 MB Notification: Performance of Templates: time 0.001937/0.717, allocations: 278.5 kB / 0.6737 GB, free: 12.67 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)