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.752/1.752, allocations: 288.4 MB / 303.3 MB, free: 8.066 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.000995/0.000995, allocations: 183 kB / 372 MB, free: 10.25 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.459/1.459, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0007852/0.0007852, allocations: 94.3 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003844, allocations: 12.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1961, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006522/0.1968, allocations: 335.8 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1981, allocations: 1.27 MB / 0.9812 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.1982, allocations: 0 / 0.9812 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.07e-05/0.1982, allocations: 0 / 0.9812 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.348e-05/0.1982, allocations: 3.938 kB / 0.9812 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.1985, allocations: 51.86 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.424e-05/0.1986, allocations: 19.98 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.1986, allocations: 4 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.1986, allocations: 11.92 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.1987, allocations: 15.98 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1987, allocations: 4 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1989, allocations: 87.84 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.1989, allocations: 11.98 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.1989, allocations: 25.7 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.224e-05/0.199, allocations: 43.94 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.199, allocations: 0 / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.222e-06/0.199, allocations: 0 / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.199, allocations: 0 / 0.9815 GB, free: 25.64 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.0003261/0.1994, allocations: 347.5 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1994, allocations: 12.03 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.356e-05/0.1994, allocations: 34.55 kB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.1995, allocations: 4 kB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.474e-05/0.1996, allocations: 167 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1996, allocations: 4 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.1996, allocations: 4 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.1997, allocations: 57.66 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.1997, allocations: 3.938 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1997, allocations: 7.938 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1998, allocations: 0 / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.572e-05/0.1998, allocations: 23.98 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.1999, allocations: 173.5 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.439e-05/0.2, allocations: 62.48 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.2001, allocations: 24.86 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003233/0.2004, allocations: 0.5583 MB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2004, allocations: 34.55 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.2004, allocations: 0 / 0.983 GB, free: 23.84 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.01781/0.2183, allocations: 4.206 MB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.2183, allocations: 55.41 kB / 0.9871 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.606e-05/0.2184, allocations: 97.86 kB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/0.2185, allocations: 25.7 kB / 0.9872 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.401e-05/0.2185, allocations: 80.14 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.002e-05/0.2186, allocations: 59.19 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.2186, allocations: 4 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.2187, allocations: 314.8 kB / 0.9877 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.2191, allocations: 315.9 kB / 0.988 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.2196, allocations: 317 kB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/0.2203, allocations: 385.1 kB / 0.9886 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2203, allocations: 0 / 0.9886 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001325/0.2216, allocations: 0.7879 MB / 0.9894 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2216, allocations: 8 kB / 0.9894 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2216, allocations: 0 / 0.9894 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2217, allocations: 0 / 0.9894 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/0.2224, allocations: 91.94 kB / 0.9895 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2224, allocations: 7.891 kB / 0.9895 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.2229, allocations: 12 kB / 0.9895 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.2229, allocations: 35.98 kB / 0.9896 GB, free: 16.88 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.0001701/0.2231, allocations: 115.4 kB / 0.9897 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.2232, allocations: 7.906 kB / 0.9897 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.2261, allocations: 1.4 MB / 0.991 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2261, allocations: 4 kB / 0.991 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2261, allocations: 0 / 0.991 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2261, allocations: 3.953 kB / 0.9911 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.2285, allocations: 1.799 MB / 0.9928 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2285, allocations: 3.953 kB / 0.9928 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006877/0.2292, allocations: 111.9 kB / 0.9929 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.2292, allocations: 4 kB / 0.9929 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/0.2293, allocations: 24 kB / 0.9929 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2293, allocations: 4.031 kB / 0.9929 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2293, allocations: 4 kB / 0.993 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.2313, allocations: 1.449 MB / 0.9944 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.2313, allocations: 96.81 kB / 0.9945 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.2314, allocations: 8 kB / 0.9945 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.2318, allocations: 12 kB / 0.9945 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.2319, allocations: 43.97 kB / 0.9945 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.232, allocations: 32.05 kB / 0.9946 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.254e-05/0.232, allocations: 75.28 kB / 0.9946 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.232, allocations: 4 kB / 0.9946 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005229/0.2326, allocations: 172 kB / 0.9948 GB, free: 11.41 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.002495/0.2351, allocations: 2.116 MB / 0.9969 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.2362, allocations: 0.7184 MB / 0.9976 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2362, allocations: 0 / 0.9976 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005392/0.2368, allocations: 451.8 kB / 0.998 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.2371, allocations: 19.94 kB / 0.998 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.242, allocations: 2.136 MB / 1 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.2422, allocations: 0.7185 MB / 1.001 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001394/0.2437, allocations: 297.5 kB / 1.001 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/0.2442, allocations: 119.4 kB / 1.001 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/0.2442, allocations: 0 / 1.001 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.2687, allocations: 11.67 MB / 1.013 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.269, allocations: 225.7 kB / 1.013 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/1.966, allocations: 3.938 kB / 1.013 GB, free: 9.031 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)