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.405/1.405, allocations: 249.5 MB / 257 MB, free: 6.875 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.0009664/0.0009663, allocations: 184.4 kB / 316.3 MB, free: 3.277 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.681/1.681, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008347/0.0008343, allocations: 98.41 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.706e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2412, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7886/1.03, allocations: 132.5 MB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.03, allocations: 78.2 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006825/1.037, allocations: 2.325 MB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.186e-06/1.037, allocations: 0.9375 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.293e-05/1.037, allocations: 7.875 kB / 1.017 GB, free: 2.863 MB / 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.0004118/1.037, allocations: 350.4 kB / 1.017 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/1.038, allocations: 8.031 kB / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/1.038, allocations: 0 / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/1.038, allocations: 171 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/1.038, allocations: 0 / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/1.038, allocations: 7.906 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.789e-05/1.038, allocations: 23.91 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.583e-05/1.038, allocations: 49.44 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.038, allocations: 3.938 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/1.038, allocations: 4 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.038, allocations: 0 / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/1.038, allocations: 150 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/1.038, allocations: 53.94 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/1.038, allocations: 24.67 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004565/1.039, allocations: 0.5544 MB / 1.018 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/1.039, allocations: 30.56 kB / 1.018 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/1.039, allocations: 4 kB / 1.018 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.01234/1.051, allocations: 3.313 MB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/1.051, allocations: 51.41 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.91e-05/1.051, allocations: 92.62 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/1.051, allocations: 25.83 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/1.051, allocations: 84.14 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/1.052, allocations: 53.17 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/1.052, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.052, allocations: 321.8 kB / 1.022 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/1.052, allocations: 299.3 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/1.053, allocations: 310 kB / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/1.053, allocations: 367 kB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/1.053, allocations: 0 / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001286/1.055, allocations: 0.7758 MB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.055, allocations: 13.66 kB / 1.024 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.055, allocations: 0 / 1.024 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.114e-05/1.055, allocations: 4 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/1.055, allocations: 95.62 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.055, allocations: 4 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/1.056, allocations: 4 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.696e-05/1.056, allocations: 31.98 kB / 1.024 GB, free: 12.45 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.0001941/1.056, allocations: 108.9 kB / 1.024 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001236/1.057, allocations: 0.7683 MB / 1.025 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/1.058, allocations: 15.84 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/1.061, allocations: 1.325 MB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.061, allocations: 4 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.061, allocations: 7.984 kB / 1.026 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.061, allocations: 3.953 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/1.063, allocations: 1.702 MB / 1.028 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.063, allocations: 3.938 kB / 1.028 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/1.064, allocations: 107.8 kB / 1.028 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/1.064, allocations: 7.953 kB / 1.028 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-05/1.064, allocations: 23.98 kB / 1.028 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/1.064, allocations: 4.391 kB / 1.028 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.064, allocations: 0 / 1.028 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/1.066, allocations: 1.387 MB / 1.029 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/1.066, allocations: 96.84 kB / 1.03 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.092e-05/1.066, allocations: 0 / 1.03 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/1.067, allocations: 8 kB / 1.03 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.067, allocations: 43.94 kB / 1.03 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.493e-05/1.067, allocations: 31.31 kB / 1.03 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.213e-05/1.067, allocations: 79.34 kB / 1.03 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.067, allocations: 0 / 1.03 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006894/1.068, allocations: 199.2 kB / 1.03 GB, free: 8.141 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.002766/1.071, allocations: 2.153 MB / 1.032 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00104/1.072, allocations: 0.6959 MB / 1.033 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.072, allocations: 0 / 1.033 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005021/1.072, allocations: 424.6 kB / 1.033 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/1.072, allocations: 7.984 kB / 1.033 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/1.076, allocations: 0.7795 MB / 1.034 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/1.076, allocations: 0.7258 MB / 1.035 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001437/1.078, allocations: 293.3 kB / 1.035 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/1.078, allocations: 121 kB / 1.035 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of SimCode: time 8.61e-07/1.078, allocations: 0 / 1.035 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/1.111, allocations: 11.22 MB / 1.046 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/1.111, allocations: 176.2 kB / 1.046 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.675, allocations: 0 / 1.046 GB, free: 8.656 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)