Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6435/0.6435, allocations: 95.62 MB / 110.6 MB, free: 9.188 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001119/0.001119, allocations: 169.4 kB / 134.2 MB, free: 2.164 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.499/1.499, allocations: 170.7 MB / 328.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001669/0.001669, allocations: 107.4 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003862, allocations: 15.98 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.5961, allocations: 94.07 MB / 0.6038 GB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5965, allocations: 78.75 kB / 0.6039 GB, free: 13.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005385/0.6019, allocations: 1.769 MB / 0.6057 GB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6019, allocations: 4 kB / 0.6057 GB, free: 11.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.6019, allocations: 0 / 0.6057 GB, free: 11.67 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003082/0.6023, allocations: 343.2 kB / 0.606 GB, free: 11.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.6023, allocations: 15.98 kB / 0.606 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.6024, allocations: 3.938 kB / 0.606 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.214e-05/0.6024, allocations: 159.1 kB / 0.6062 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.6025, allocations: 0 / 0.6062 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.6025, allocations: 4 kB / 0.6062 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.6026, allocations: 45.27 kB / 0.6062 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.6026, allocations: 0 / 0.6062 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6026, allocations: 0 / 0.6062 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.6027, allocations: 0 / 0.6062 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.6027, allocations: 3.938 kB / 0.6062 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.6029, allocations: 153.3 kB / 0.6064 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.828e-05/0.6029, allocations: 25.12 kB / 0.6064 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/0.6035, allocations: 0.5655 MB / 0.6069 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.6035, allocations: 34.56 kB / 0.607 GB, free: 10.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6035, allocations: 0 / 0.607 GB, free: 10.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005437/0.6041, allocations: 253.5 kB / 0.6072 GB, free: 9.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.6041, allocations: 51.41 kB / 0.6073 GB, free: 9.707 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.434e-05/0.6042, allocations: 89.22 kB / 0.6073 GB, free: 9.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.6042, allocations: 25.7 kB / 0.6074 GB, free: 9.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.6042, allocations: 83.33 kB / 0.6074 GB, free: 9.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.6043, allocations: 11.81 kB / 0.6075 GB, free: 9.488 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.6043, allocations: 0 / 0.6075 GB, free: 9.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6044, allocations: 314.7 kB / 0.6078 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.6044, allocations: 7.984 kB / 0.6078 GB, free: 9.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.6044, allocations: 13.72 kB / 0.6078 GB, free: 9.148 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/0.6045, allocations: 15.69 kB / 0.6078 GB, free: 9.137 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.6045, allocations: 0 / 0.6078 GB, free: 9.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.918e-05/0.6046, allocations: 52.31 kB / 0.6078 GB, free: 9.086 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6046, allocations: 4 kB / 0.6078 GB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6046, allocations: 3.938 kB / 0.6078 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.6046, allocations: 4 kB / 0.6078 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.6047, allocations: 7.938 kB / 0.6079 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6047, allocations: 3.953 kB / 0.6079 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.6047, allocations: 8.062 kB / 0.6079 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.6047, allocations: 3.75 kB / 0.6079 GB, free: 9.055 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.766e-05/0.6048, allocations: 113.8 kB / 0.608 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-06/0.6048, allocations: 0 / 0.608 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.605, allocations: 56 kB / 0.608 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.605, allocations: 0 / 0.608 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.605, allocations: 192 / 0.608 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.605, allocations: 3.953 kB / 0.608 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.6051, allocations: 153.7 kB / 0.6082 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6051, allocations: 0 / 0.6082 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.6052, allocations: 11.31 kB / 0.6082 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.6052, allocations: 4 kB / 0.6082 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.6052, allocations: 0 / 0.6082 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6052, allocations: 7.922 kB / 0.6082 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.6052, allocations: 0 / 0.6082 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.6054, allocations: 83.61 kB / 0.6083 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.6054, allocations: 77.11 kB / 0.6084 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.6054, allocations: 0 / 0.6084 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.6055, allocations: 4.031 kB / 0.6084 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.6055, allocations: 3.984 kB / 0.6084 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.6055, allocations: 0 / 0.6084 GB, free: 8.461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.141e-05/0.6056, allocations: 79.28 kB / 0.6084 GB, free: 8.383 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6056, allocations: 4.062 kB / 0.6084 GB, free: 8.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.6058, allocations: 23.12 kB / 0.6085 GB, free: 8.359 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002059/0.606, allocations: 147 kB / 0.6086 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.744e-05/0.6061, allocations: 15.48 kB / 0.6086 GB, free: 8.195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6061, allocations: 0 / 0.6086 GB, free: 8.195 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.6061, allocations: 8 kB / 0.6086 GB, free: 8.188 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.473e-05/0.6062, allocations: 0.5156 kB / 0.6086 GB, free: 8.188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.6065, allocations: 117 kB / 0.6087 GB, free: 8.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.6067, allocations: 0.6809 MB / 0.6094 GB, free: 7.344 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.701e-05/0.6068, allocations: 8 kB / 0.6094 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.6068, allocations: 7.438 kB / 0.6094 GB, free: 7.328 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6068, allocations: 0 / 0.6094 GB, free: 7.328 MB / 410.7 MB Notification: Performance of Templates: time 0.002494/0.6093, allocations: 0.5466 MB / 0.61 GB, free: 6.797 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)