Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.671/1.671, allocations: 285.6 MB / 293.1 MB, free: 10.17 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001356/0.001356, allocations: 188.3 kB / 361.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.2 MB / 0.62 GB, free: 11.69 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008241/0.000824, allocations: 84.19 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.955e-05/3.976e-05, allocations: 8 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7663, allocations: 115.3 MB / 0.9645 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.9584, allocations: 137.9 MB / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.9587, allocations: 82.25 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007018/0.9657, allocations: 2.328 MB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9658, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.9658, allocations: 4.75 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000388/0.9662, allocations: 343.3 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.9662, allocations: 12.69 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.9663, allocations: 11.88 kB / 1.102 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.9664, allocations: 175.7 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.9665, allocations: 0 / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.9665, allocations: 4.531 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.9666, allocations: 16.72 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.9667, allocations: 50.67 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.9667, allocations: 0.9844 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.9668, allocations: 0 / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9668, allocations: 0.5312 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.967, allocations: 144.6 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.9671, allocations: 63.27 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.9672, allocations: 17.36 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004666/0.9676, allocations: 0.5568 MB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.9677, allocations: 35.94 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.9677, allocations: 0 / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.01293/0.9806, allocations: 3.323 MB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.9807, allocations: 55.41 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.9808, allocations: 85 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/0.9809, allocations: 29.7 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.9809, allocations: 80.14 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.9811, allocations: 59.23 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.9811, allocations: 0 / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.9813, allocations: 322.8 kB / 1.107 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.9817, allocations: 304 kB / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.9822, allocations: 312.7 kB / 1.107 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.9828, allocations: 368.9 kB / 1.108 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9828, allocations: 0 / 1.108 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00132/0.9842, allocations: 0.7762 MB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.9842, allocations: 4 kB / 1.108 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.9842, allocations: 0 / 1.108 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.9842, allocations: 4 kB / 1.108 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/0.9851, allocations: 91.94 kB / 1.108 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.9851, allocations: 5.797 kB / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.9856, allocations: 7.938 kB / 1.108 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/0.9857, allocations: 31.98 kB / 1.109 GB, free: 7.879 MB / 0.7136 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 (18): * Single equations (assignments): 18 * 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 0.0001984/0.9859, allocations: 113.4 kB / 1.109 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001431/0.9873, allocations: 0.7653 MB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.9874, allocations: 7.906 kB / 1.109 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.9911, allocations: 1.337 MB / 1.111 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.9911, allocations: 4 kB / 1.111 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.9912, allocations: 0 / 1.111 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.9912, allocations: 7.938 kB / 1.111 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.9943, allocations: 1.71 MB / 1.112 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.9943, allocations: 0 / 1.112 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/0.9952, allocations: 107.9 kB / 1.112 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.639e-05/0.9952, allocations: 4 kB / 1.112 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.581e-05/0.9953, allocations: 27.95 kB / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.9953, allocations: 4 kB / 1.112 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9953, allocations: 0 / 1.112 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.9977, allocations: 1.392 MB / 1.114 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.9978, allocations: 98.05 kB / 1.114 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.9979, allocations: 3.953 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005539/0.9984, allocations: 7.984 kB / 1.114 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.9986, allocations: 43.97 kB / 1.114 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/0.9986, allocations: 28 kB / 1.114 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.9987, allocations: 75.28 kB / 1.114 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9987, allocations: 0 / 1.114 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007082/0.9994, allocations: 203.9 kB / 1.114 GB, free: 1.852 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.002934/1.002, allocations: 2.143 MB / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001117/1.004, allocations: 0.6912 MB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.004, allocations: 4.062 kB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006036/1.004, allocations: 427.9 kB / 1.117 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/1.004, allocations: 6.906 kB / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/1.008, allocations: 0.7791 MB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/1.009, allocations: 0.7219 MB / 1.119 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001562/1.01, allocations: 289.3 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/1.011, allocations: 119.4 kB / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of SimCode: time 1.873e-06/1.011, allocations: 4 kB / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/1.047, allocations: 11.23 MB / 1.13 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.047, allocations: 174.8 kB / 1.13 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.711, allocations: 0 / 1.13 GB, free: 1.254 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)