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.601/1.601, allocations: 288.4 MB / 303.6 MB, free: 8.145 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.001263/0.001263, allocations: 180.5 kB / 372.3 MB, free: 10.11 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.446/1.446, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0007842/0.0007841, allocations: 96.95 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 13.66 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0004152/0.1456, allocations: 351.7 kB / 0.9805 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.1466, allocations: 1.27 MB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.143e-05/0.1467, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.288e-06/0.1467, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.01e-05/0.1467, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.1469, allocations: 47.88 kB / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 2.518e-05/0.1469, allocations: 19.92 kB / 0.9818 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 1.785e-05/0.1469, allocations: 8 kB / 0.9818 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.949e-06/0.147, allocations: 4 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.192e-05/0.147, allocations: 19.91 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.147, allocations: 8 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1471, allocations: 87.91 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.1472, allocations: 19.91 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.1472, allocations: 29.7 kB / 0.982 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.587e-05/0.1472, allocations: 39.94 kB / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.1472, allocations: 0 / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1472, allocations: 4 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.535e-06/0.1473, allocations: 0 / 0.9821 GB, free: 25.29 MB / 0.6198 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.0001944/0.1475, allocations: 355.7 kB / 0.9824 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.093e-05/0.1475, allocations: 8.031 kB / 0.9824 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.007e-05/0.1475, allocations: 38.75 kB / 0.9824 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.52e-05/0.1475, allocations: 4.938 kB / 0.9824 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.222e-05/0.1476, allocations: 160.4 kB / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-06/0.1476, allocations: 4.375 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1476, allocations: 4.375 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.62e-05/0.1477, allocations: 57.73 kB / 0.9827 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1477, allocations: 3.938 kB / 0.9827 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.1477, allocations: 8 kB / 0.9827 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-06/0.1477, allocations: 0 / 0.9827 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.1478, allocations: 27.92 kB / 0.9827 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.671e-05/0.1478, allocations: 173.5 kB / 0.9829 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.038e-05/0.1479, allocations: 50.56 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.148, allocations: 28.84 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.1482, allocations: 0.5622 MB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.041e-05/0.1482, allocations: 38.5 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1483, allocations: 0 / 0.9835 GB, free: 23.48 MB / 0.6198 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.01615/0.1644, allocations: 4.198 MB / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.315e-05/0.1644, allocations: 63.34 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.991e-05/0.1645, allocations: 93.84 kB / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.1645, allocations: 29.7 kB / 0.9878 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.001e-05/0.1645, allocations: 84.14 kB / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.1646, allocations: 51.2 kB / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.1647, allocations: 0 / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.224e-05/0.1647, allocations: 330.7 kB / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.1651, allocations: 303.9 kB / 0.9885 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.1655, allocations: 321.5 kB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.1667, allocations: 0.7485 MB / 0.9896 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1667, allocations: 7.938 kB / 0.9896 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001208/0.1679, allocations: 0.7864 MB / 0.9903 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1679, allocations: 4 kB / 0.9904 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1679, allocations: 3.938 kB / 0.9904 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.168, allocations: 0 / 0.9904 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.1686, allocations: 95.94 kB / 0.9904 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1687, allocations: 4 kB / 0.9904 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.1691, allocations: 4 kB / 0.9905 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.1692, allocations: 36.06 kB / 0.9905 GB, free: 16.15 MB / 0.6198 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.0001422/0.1694, allocations: 129.7 kB / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.1694, allocations: 4 kB / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.1722, allocations: 1.384 MB / 0.992 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.1723, allocations: 4 kB / 0.992 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1723, allocations: 0 / 0.992 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1723, allocations: 0 / 0.992 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.1748, allocations: 1.806 MB / 0.9937 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1749, allocations: 0 / 0.9937 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.1756, allocations: 111.9 kB / 0.9938 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1756, allocations: 0 / 0.9938 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/0.1756, allocations: 31.94 kB / 0.9939 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1757, allocations: 0 / 0.9939 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.1757, allocations: 7.969 kB / 0.9939 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.1777, allocations: 1.453 MB / 0.9953 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.1777, allocations: 88.98 kB / 0.9954 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/0.1778, allocations: 15.94 kB / 0.9954 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.1783, allocations: 8 kB / 0.9954 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.1784, allocations: 47.95 kB / 0.9955 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.1785, allocations: 36.06 kB / 0.9955 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.993e-05/0.1785, allocations: 75.28 kB / 0.9956 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1785, allocations: 0 / 0.9956 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005165/0.179, allocations: 172 kB / 0.9957 GB, free: 10.68 MB / 0.6198 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.00242/0.1815, allocations: 2.115 MB / 0.9978 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009498/0.1824, allocations: 0.7235 MB / 0.9985 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1824, allocations: 0 / 0.9985 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.1829, allocations: 447.8 kB / 0.9989 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1832, allocations: 27.17 kB / 0.9989 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.1877, allocations: 2.134 MB / 1.001 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.1878, allocations: 0.7224 MB / 1.002 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001318/0.1892, allocations: 289.5 kB / 1.002 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/0.1897, allocations: 119.4 kB / 1.002 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.1897, allocations: 3.938 kB / 1.002 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.826/2.016, allocations: 11.64 MB / 1.013 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/2.016, allocations: 220.4 kB / 1.014 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/3.769, allocations: 0 / 1.014 GB, free: 8.328 MB / 0.6355 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)