Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 2.302/2.302, allocations: 289.7 MB / 302.3 MB, free: 2.137 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.001301/0.001301, allocations: 181.2 kB / 371.6 MB, free: 3.41 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.872/1.872, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0008905/0.0008905, allocations: 92.09 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.111e-05/4.121e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2642, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8266/1.091, allocations: 139.5 MB / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/1.091, allocations: 81.05 kB / 1.116 GB, free: 44.22 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.006253/1.097, allocations: 2.331 MB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.413e-06/1.097, allocations: 0.6875 kB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.265e-06/1.097, allocations: 4 kB / 1.118 GB, free: 42.83 MB / 0.7448 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.0002487/1.098, allocations: 349.9 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.098, allocations: 13.88 kB / 1.119 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/1.098, allocations: 34.55 kB / 1.119 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/1.098, allocations: 8.688 kB / 1.119 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.537e-05/1.098, allocations: 163 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/1.098, allocations: 10.73 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/1.098, allocations: 7.141 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/1.098, allocations: 48.47 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.098, allocations: 3.328 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/1.098, allocations: 4.656 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/1.098, allocations: 0 / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.707e-05/1.098, allocations: 22.81 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/1.098, allocations: 171.9 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.335e-05/1.098, allocations: 54.8 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/1.098, allocations: 31.31 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/1.099, allocations: 0.5505 MB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/1.099, allocations: 42.88 kB / 1.12 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/1.099, allocations: 0 / 1.12 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.01417/1.113, allocations: 3.633 MB / 1.123 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/1.113, allocations: 55.41 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/1.113, allocations: 88.95 kB / 1.124 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.01e-05/1.113, allocations: 29.08 kB / 1.124 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.526e-05/1.113, allocations: 80.14 kB / 1.124 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/1.113, allocations: 57.7 kB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/1.113, allocations: 4.062 kB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/1.113, allocations: 325.9 kB / 1.124 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/1.114, allocations: 298.6 kB / 1.124 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/1.114, allocations: 297.5 kB / 1.125 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/1.115, allocations: 368.1 kB / 1.125 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/1.115, allocations: 0 / 1.125 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001297/1.116, allocations: 0.7661 MB / 1.126 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.116, allocations: 7.938 kB / 1.126 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.116, allocations: 0 / 1.126 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.116, allocations: 4.5 kB / 1.126 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/1.117, allocations: 89.64 kB / 1.126 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.117, allocations: 4 kB / 1.126 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/1.117, allocations: 8.188 kB / 1.126 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.79e-05/1.118, allocations: 42.98 kB / 1.126 GB, free: 36.85 MB / 0.7448 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.000147/1.118, allocations: 112 kB / 1.126 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/1.118, allocations: 4 kB / 1.126 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/1.121, allocations: 1.362 MB / 1.127 GB, free: 36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.121, allocations: 7.938 kB / 1.127 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.121, allocations: 7.375 kB / 1.127 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/1.121, allocations: 0.9375 kB / 1.127 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/1.123, allocations: 1.781 MB / 1.129 GB, free: 34.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.123, allocations: 0.75 kB / 1.129 GB, free: 34.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/1.124, allocations: 114 kB / 1.129 GB, free: 34.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.124, allocations: 4.031 kB / 1.129 GB, free: 34.76 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/1.124, allocations: 27.89 kB / 1.129 GB, free: 34.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.124, allocations: 7.938 kB / 1.129 GB, free: 34.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.124, allocations: 8.266 kB / 1.129 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/1.126, allocations: 1.431 MB / 1.131 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/1.126, allocations: 96.94 kB / 1.131 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/1.126, allocations: 8.938 kB / 1.131 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/1.126, allocations: 16.69 kB / 1.131 GB, free: 33.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.126, allocations: 38.17 kB / 1.131 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/1.127, allocations: 31.31 kB / 1.131 GB, free: 33.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.964e-05/1.127, allocations: 78.75 kB / 1.131 GB, free: 33.63 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.127, allocations: 0 / 1.131 GB, free: 33.63 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005328/1.127, allocations: 206.1 kB / 1.131 GB, free: 33.45 MB / 0.7448 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.002393/1.129, allocations: 2.203 MB / 1.133 GB, free: 31.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009835/1.13, allocations: 0.7058 MB / 1.134 GB, free: 31.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.13, allocations: 0 / 1.134 GB, free: 31.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005182/1.131, allocations: 438.5 kB / 1.134 GB, free: 31.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/1.131, allocations: 13.28 kB / 1.134 GB, free: 31.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/1.134, allocations: 0.8398 MB / 1.135 GB, free: 30.58 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/1.135, allocations: 0.7191 MB / 1.136 GB, free: 29.85 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001296/1.136, allocations: 295.1 kB / 1.136 GB, free: 29.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000528/1.136, allocations: 122.2 kB / 1.136 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/1.136, allocations: 0 / 1.136 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04661/1.183, allocations: 11.49 MB / 1.148 GB, free: 23.15 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/1.183, allocations: 176.1 kB / 1.148 GB, free: 22.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.911, allocations: 0 / 1.148 GB, free: 22.93 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)