Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 183.3 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008573/0.0008573, allocations: 103.9 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 13.25 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1989, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006897/0.1997, allocations: 357.1 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.201, allocations: 1.26 MB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.201, allocations: 4 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.201, allocations: 0 / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.111e-05/0.2011, allocations: 0 / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.2014, allocations: 54.44 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.322e-05/0.2014, allocations: 15.92 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.2015, allocations: 0 / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.2015, allocations: 15.97 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.2016, allocations: 15.92 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.2016, allocations: 0 / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.2017, allocations: 91.84 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.2018, allocations: 7.984 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.2018, allocations: 29.7 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.044e-05/0.2019, allocations: 43.94 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2019, allocations: 0 / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2019, allocations: 7.875 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2019, allocations: 0 / 0.902 GB, free: 61.93 MB / 0.6042 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.0003591/0.2023, allocations: 335.4 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2023, allocations: 12.03 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.2024, allocations: 38.55 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.2024, allocations: 3.953 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.658e-05/0.2025, allocations: 163.4 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2025, allocations: 4 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.2025, allocations: 7.906 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2027, allocations: 49.67 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2027, allocations: 4 kB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2027, allocations: 0 / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2027, allocations: 0 / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.2028, allocations: 27.92 kB / 0.9026 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.2029, allocations: 169.6 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.863e-05/0.203, allocations: 62.62 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/0.2034, allocations: 0.5544 MB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.2034, allocations: 42.56 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.2034, allocations: 0 / 0.9034 GB, free: 60.18 MB / 0.6042 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.01753/0.221, allocations: 4.206 MB / 0.9075 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.221, allocations: 51.41 kB / 0.9076 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.911e-05/0.2211, allocations: 101.8 kB / 0.9077 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.2212, allocations: 33.83 kB / 0.9077 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.304e-05/0.2212, allocations: 80.14 kB / 0.9078 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.869e-05/0.2213, allocations: 55.17 kB / 0.9078 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.2213, allocations: 0 / 0.9078 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.2214, allocations: 318.8 kB / 0.9082 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.2218, allocations: 307.9 kB / 0.9084 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.2223, allocations: 309.9 kB / 0.9087 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/0.2229, allocations: 379.9 kB / 0.9091 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2229, allocations: 0 / 0.9091 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001298/0.2242, allocations: 0.7903 MB / 0.9099 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2242, allocations: 6.5 kB / 0.9099 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2243, allocations: 0 / 0.9099 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2243, allocations: 4 kB / 0.9099 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.225, allocations: 103.8 kB / 0.91 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.225, allocations: 0 / 0.91 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/0.2256, allocations: 4 kB / 0.91 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.2256, allocations: 39.97 kB / 0.91 GB, free: 53.23 MB / 0.6042 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.0001679/0.2258, allocations: 117.8 kB / 0.9101 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.2259, allocations: 8 kB / 0.9101 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/0.2289, allocations: 1.388 MB / 0.9115 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2289, allocations: 4 kB / 0.9115 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2289, allocations: 3.953 kB / 0.9115 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2289, allocations: 3.984 kB / 0.9115 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.2313, allocations: 1.798 MB / 0.9133 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2313, allocations: 8 kB / 0.9133 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000739/0.232, allocations: 107.9 kB / 0.9134 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.232, allocations: 0 / 0.9134 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-05/0.2321, allocations: 28 kB / 0.9134 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2321, allocations: 0 / 0.9134 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2321, allocations: 0 / 0.9134 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.234, allocations: 1.474 MB / 0.9148 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.2341, allocations: 96.92 kB / 0.9149 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/0.2342, allocations: 4 kB / 0.9149 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.2347, allocations: 16 kB / 0.915 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.2348, allocations: 39.95 kB / 0.915 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/0.2348, allocations: 32 kB / 0.915 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.806e-05/0.2349, allocations: 79.34 kB / 0.9151 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2349, allocations: 0 / 0.9151 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005424/0.2354, allocations: 172 kB / 0.9153 GB, free: 47.74 MB / 0.6042 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.002379/0.2378, allocations: 2.209 MB / 0.9174 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.2388, allocations: 0.7184 MB / 0.9181 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2388, allocations: 0 / 0.9181 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.2394, allocations: 456 kB / 0.9186 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.2396, allocations: 4 kB / 0.9186 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.2444, allocations: 2.144 MB / 0.9207 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.2445, allocations: 0.7184 MB / 0.9214 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001338/0.2459, allocations: 297.6 kB / 0.9216 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/0.2464, allocations: 115.4 kB / 0.9218 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/0.2464, allocations: 0 / 0.9218 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.267, allocations: 11.64 MB / 0.9331 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/0.2672, allocations: 216.2 kB / 0.9333 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.893, allocations: 0 / 0.9333 GB, free: 29.3 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)