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.751/1.751, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001163/0.001163, allocations: 175.4 kB / 371.8 MB, free: 10.26 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.928/1.928, allocations: 205.4 MB / 0.6305 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009228/0.000923, allocations: 93.23 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006697/0.0006697, allocations: 13.03 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2347, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6833/0.918, allocations: 138.6 MB / 1.115 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.9183, allocations: 80.88 kB / 1.115 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00656/0.9249, allocations: 2.344 MB / 1.117 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9249, allocations: 0 / 1.117 GB, free: 31.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.9249, allocations: 0 / 1.117 GB, free: 31.88 MB / 0.698 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.0003308/0.9253, allocations: 352.4 kB / 1.118 GB, free: 31.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.9253, allocations: 14.48 kB / 1.118 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.9254, allocations: 38 kB / 1.118 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.9254, allocations: 12.44 kB / 1.118 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.825e-05/0.9255, allocations: 167 kB / 1.118 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.9255, allocations: 3.75 kB / 1.118 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.9256, allocations: 3.844 kB / 1.118 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.9257, allocations: 52.5 kB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.9257, allocations: 0 / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.9257, allocations: 0 / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.9257, allocations: 3.875 kB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.037e-05/0.9258, allocations: 28.42 kB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.926, allocations: 170.5 kB / 1.118 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.9261, allocations: 61.28 kB / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/0.9265, allocations: 0.5589 MB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.9265, allocations: 33.81 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.9266, allocations: 4 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01805/0.9446, allocations: 4.19 MB / 1.123 GB, free: 29.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.9447, allocations: 55.38 kB / 1.123 GB, free: 29.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.9448, allocations: 85 kB / 1.123 GB, free: 29.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.9449, allocations: 29.45 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.9449, allocations: 84.08 kB / 1.123 GB, free: 29.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.9451, allocations: 60.2 kB / 1.123 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.9451, allocations: 4.125 kB / 1.123 GB, free: 29.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.9453, allocations: 325.2 kB / 1.123 GB, free: 28.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.9458, allocations: 309.2 kB / 1.124 GB, free: 28.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.9462, allocations: 306.6 kB / 1.124 GB, free: 28.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/0.9469, allocations: 383 kB / 1.124 GB, free: 28.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9469, allocations: 0 / 1.124 GB, free: 28.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00137/0.9483, allocations: 0.7935 MB / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.9483, allocations: 3.938 kB / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.9483, allocations: 0 / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.9483, allocations: 0 / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007712/0.9491, allocations: 95.59 kB / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.9491, allocations: 2.438 kB / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.9496, allocations: 10.94 kB / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/0.9497, allocations: 32.39 kB / 1.125 GB, free: 28.7 MB / 0.698 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 () * Number of clocked 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.0002321/0.9499, allocations: 126.8 kB / 1.125 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.95, allocations: 7.781 kB / 1.125 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.9532, allocations: 1.392 MB / 1.127 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.9532, allocations: 3.75 kB / 1.127 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.9532, allocations: 3.875 kB / 1.127 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.9532, allocations: 2.812 kB / 1.127 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.9558, allocations: 1.794 MB / 1.128 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9558, allocations: 3.5 kB / 1.128 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/0.9565, allocations: 111.8 kB / 1.129 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.9565, allocations: 3.938 kB / 1.129 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.9566, allocations: 26.7 kB / 1.129 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.9566, allocations: 6.375 kB / 1.129 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9566, allocations: 0 / 1.129 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.9586, allocations: 1.458 MB / 1.13 GB, free: 27.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.9587, allocations: 99.56 kB / 1.13 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.9588, allocations: 14.14 kB / 1.13 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.9592, allocations: 11.09 kB / 1.13 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.9593, allocations: 43.3 kB / 1.13 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/0.9594, allocations: 34.05 kB / 1.13 GB, free: 27.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.9595, allocations: 75.28 kB / 1.13 GB, free: 27.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9595, allocations: 0 / 1.13 GB, free: 27.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005886/0.9601, allocations: 207.3 kB / 1.131 GB, free: 27.5 MB / 0.698 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 () * Number of clocked 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.00258/0.9626, allocations: 2.222 MB / 1.133 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.9637, allocations: 0.7246 MB / 1.133 GB, free: 26.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9637, allocations: 3.938 kB / 1.133 GB, free: 26.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.9642, allocations: 455.4 kB / 1.134 GB, free: 26.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.9644, allocations: 7.125 kB / 1.134 GB, free: 26.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/0.969, allocations: 2.18 MB / 1.136 GB, free: 26.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.9692, allocations: 0.7212 MB / 1.137 GB, free: 25.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001359/0.9706, allocations: 292.8 kB / 1.137 GB, free: 25.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/0.9711, allocations: 112.3 kB / 1.137 GB, free: 25.32 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.9711, allocations: 0 / 1.137 GB, free: 25.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.9931, allocations: 11.4 MB / 1.148 GB, free: 20.61 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.9933, allocations: 210.7 kB / 1.148 GB, free: 20.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.739, allocations: 0 / 1.148 GB, free: 20.37 MB / 0.698 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)