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.528/1.528, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 174.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0008706/0.0008708, allocations: 94.84 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.85e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2214, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8137/1.035, allocations: 132.2 MB / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/1.035, allocations: 78.02 kB / 1.021 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007096/1.043, allocations: 2.344 MB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.295e-06/1.043, allocations: 0 / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.043, allocations: 0 / 1.023 GB, free: 432 kB / 0.6355 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.0003846/1.043, allocations: 357.9 kB / 1.024 GB, free: 32 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/1.043, allocations: 8.031 kB / 1.024 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.292e-05/1.043, allocations: 38.31 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/1.043, allocations: 0 / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/1.043, allocations: 167 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/1.043, allocations: 4 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/1.043, allocations: 15.88 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/1.044, allocations: 52.44 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.044, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/1.044, allocations: 7.375 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.044, allocations: 0 / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/1.044, allocations: 19.38 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/1.044, allocations: 172.5 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/1.044, allocations: 57.7 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/1.044, allocations: 24.42 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000514/1.045, allocations: 0.5583 MB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/1.045, allocations: 37.48 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/1.045, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17): time 0.01522/1.06, allocations: 3.623 MB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/1.06, allocations: 59.36 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/1.06, allocations: 88.98 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/1.06, allocations: 33.2 kB / 1.029 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/1.06, allocations: 84.27 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/1.06, allocations: 56.92 kB / 1.029 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/1.06, allocations: 4 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.06, allocations: 318.1 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/1.061, allocations: 296.5 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/1.061, allocations: 299.4 kB / 1.03 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007062/1.062, allocations: 366 kB / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/1.062, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001462/1.064, allocations: 0.7624 MB / 1.031 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/1.064, allocations: 12 kB / 1.031 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.064, allocations: 0 / 1.031 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.064, allocations: 0 / 1.031 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/1.065, allocations: 94.69 kB / 1.031 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/1.065, allocations: 0 / 1.031 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/1.065, allocations: 16.2 kB / 1.031 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.221e-05/1.065, allocations: 35.97 kB / 1.031 GB, free: 9.609 MB / 0.6511 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 () * 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.0001974/1.065, allocations: 112.5 kB / 1.031 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/1.066, allocations: 7.906 kB / 1.031 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/1.069, allocations: 1.367 MB / 1.032 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.069, allocations: 4 kB / 1.032 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.069, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.069, allocations: 7.984 kB / 1.032 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/1.072, allocations: 1.78 MB / 1.034 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.072, allocations: 4 kB / 1.034 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008217/1.073, allocations: 111.1 kB / 1.034 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/1.073, allocations: 3.953 kB / 1.034 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.559e-05/1.073, allocations: 27.56 kB / 1.034 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/1.073, allocations: 0 / 1.034 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.073, allocations: 0 / 1.034 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/1.076, allocations: 1.431 MB / 1.036 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/1.076, allocations: 100.8 kB / 1.036 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/1.076, allocations: 10.56 kB / 1.036 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/1.076, allocations: 11.86 kB / 1.036 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.076, allocations: 43.78 kB / 1.036 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/1.076, allocations: 30.94 kB / 1.036 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.674e-05/1.077, allocations: 79.22 kB / 1.036 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.21e-07/1.077, allocations: 160 / 1.036 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006732/1.077, allocations: 218.5 kB / 1.036 GB, free: 5.711 MB / 0.6511 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 () * 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.003135/1.08, allocations: 2.198 MB / 1.038 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001289/1.082, allocations: 0.7008 MB / 1.039 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.082, allocations: 4 kB / 1.039 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007006/1.082, allocations: 442.6 kB / 1.039 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/1.083, allocations: 6.312 kB / 1.039 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/1.087, allocations: 0.8399 MB / 1.04 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/1.087, allocations: 0.7261 MB / 1.041 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001539/1.089, allocations: 293.7 kB / 1.041 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006063/1.089, allocations: 119.6 kB / 1.041 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of SimCode: time 2.304e-06/1.089, allocations: 0 / 1.041 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/1.119, allocations: 11.51 MB / 1.052 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/1.12, allocations: 192.4 kB / 1.053 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.903, allocations: 4 kB / 1.053 GB, free: 5.973 MB / 0.6667 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)