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.433/1.433, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001169/0.001169, allocations: 187.7 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.226/2.226, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0009302/0.0009301, allocations: 82 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003794, allocations: 16.75 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2474, allocations: 106.3 MB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.4218, allocations: 132.3 MB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.4221, allocations: 87.94 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007255/0.4294, allocations: 2.346 MB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.185e-06/0.4294, allocations: 0 / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.4294, allocations: 0 / 1.032 GB, free: 9.27 MB / 0.6823 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.0004413/0.4299, allocations: 359.7 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/0.4299, allocations: 12.03 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.136e-05/0.43, allocations: 42.55 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.4301, allocations: 4 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.4302, allocations: 163 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4302, allocations: 4 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.4303, allocations: 11.98 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.4304, allocations: 57.59 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.4305, allocations: 3.906 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4305, allocations: 4 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4305, allocations: 0 / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.4306, allocations: 23.98 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.4308, allocations: 173.5 kB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.4309, allocations: 58.56 kB / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/0.4314, allocations: 0.5583 MB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.4315, allocations: 34.5 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.4315, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6823 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.01956/0.451, allocations: 4.183 MB / 1.037 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4511, allocations: 59.36 kB / 1.037 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.159e-05/0.4512, allocations: 89 kB / 1.037 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.913e-05/0.4513, allocations: 29.7 kB / 1.037 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.4513, allocations: 80.14 kB / 1.038 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.4515, allocations: 59.14 kB / 1.038 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.4515, allocations: 8 kB / 1.038 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4517, allocations: 314.8 kB / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.4522, allocations: 311.9 kB / 1.038 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/0.4527, allocations: 311.9 kB / 1.038 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000764/0.4535, allocations: 382.8 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4535, allocations: 0 / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001514/0.455, allocations: 0.7941 MB / 1.04 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.455, allocations: 4 kB / 1.04 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4551, allocations: 3.938 kB / 1.04 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4551, allocations: 0 / 1.04 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007836/0.4559, allocations: 91.95 kB / 1.04 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.4559, allocations: 3.984 kB / 1.04 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.4564, allocations: 11.95 kB / 1.04 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.425e-05/0.4565, allocations: 35.98 kB / 1.04 GB, free: 0.5547 MB / 0.6823 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.0002304/0.4567, allocations: 125.8 kB / 1.04 GB, free: 432 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/0.4568, allocations: 4 kB / 1.04 GB, free: 428 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003566/0.4604, allocations: 1.385 MB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4604, allocations: 7.984 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4604, allocations: 0 / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.4604, allocations: 0 / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.4638, allocations: 1.802 MB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4638, allocations: 0 / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007756/0.4646, allocations: 111.9 kB / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.4646, allocations: 3.953 kB / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-05/0.4647, allocations: 31.98 kB / 1.043 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.4647, allocations: 3.938 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4647, allocations: 4.031 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.4671, allocations: 1.463 MB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.4672, allocations: 92.94 kB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.141e-05/0.4673, allocations: 12 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.4677, allocations: 12 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.4679, allocations: 47.97 kB / 1.045 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/0.468, allocations: 35.98 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.468, allocations: 75.28 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.468, allocations: 0 / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006347/0.4686, allocations: 203.7 kB / 1.045 GB, free: 11.03 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.003193/0.4719, allocations: 2.245 MB / 1.047 GB, free: 8.746 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.4731, allocations: 0.7222 MB / 1.048 GB, free: 8.023 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4731, allocations: 0 / 1.048 GB, free: 8.023 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006579/0.4738, allocations: 452.1 kB / 1.048 GB, free: 7.582 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.474, allocations: 4 kB / 1.048 GB, free: 7.578 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/0.4796, allocations: 2.175 MB / 1.051 GB, free: 5.355 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.48, allocations: 0.7224 MB / 1.051 GB, free: 4.605 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001509/0.4815, allocations: 297.5 kB / 1.051 GB, free: 4.312 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.4821, allocations: 119.4 kB / 1.052 GB, free: 4.195 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/0.4821, allocations: 0 / 1.052 GB, free: 4.195 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4298/0.9119, allocations: 11.37 MB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.9121, allocations: 212 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.555, allocations: 7.516 kB / 1.063 GB, free: 153.9 MB / 0.698 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)