Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 289.9 MB / 297.4 MB, free: 6.32 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.001399/0.001399, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.827/1.827, allocations: 205.3 MB / 0.626 GB, free: 7.141 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009469/0.0009468, allocations: 86.62 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.445e-05/4.465e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.799, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/1.004, allocations: 138.8 MB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.005, allocations: 84.66 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007352/1.012, allocations: 2.323 MB / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/1.012, allocations: 4 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.245e-06/1.012, allocations: 0 / 1.111 GB, free: 8.895 MB / 0.7136 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.0004031/1.013, allocations: 356 kB / 1.112 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/1.013, allocations: 8.031 kB / 1.112 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/1.013, allocations: 7.906 kB / 1.112 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/1.013, allocations: 167.7 kB / 1.112 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/1.013, allocations: 1.031 kB / 1.112 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/1.013, allocations: 4 kB / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/1.013, allocations: 16 kB / 1.112 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/1.013, allocations: 54.14 kB / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/1.013, allocations: 2.219 kB / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/1.013, allocations: 1.688 kB / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.013, allocations: 0 / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/1.013, allocations: 146.2 kB / 1.112 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/1.014, allocations: 55.33 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/1.014, allocations: 25.61 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/1.014, allocations: 0.5513 MB / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.014, allocations: 37.56 kB / 1.113 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/1.014, allocations: 0 / 1.113 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.01297/1.027, allocations: 3.323 MB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/1.027, allocations: 51.41 kB / 1.116 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/1.027, allocations: 89 kB / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-05/1.027, allocations: 25.7 kB / 1.116 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/1.027, allocations: 80.14 kB / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/1.028, allocations: 59.11 kB / 1.116 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/1.028, allocations: 0 / 1.116 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.028, allocations: 322.9 kB / 1.117 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/1.028, allocations: 305.6 kB / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/1.029, allocations: 308.9 kB / 1.117 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006899/1.029, allocations: 372.4 kB / 1.117 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.029, allocations: 4 kB / 1.117 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001333/1.031, allocations: 0.7684 MB / 1.118 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.031, allocations: 4 kB / 1.118 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.031, allocations: 0 / 1.118 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.031, allocations: 0 / 1.118 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000824/1.032, allocations: 103.9 kB / 1.118 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.032, allocations: 0 / 1.118 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/1.032, allocations: 8 kB / 1.118 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.491e-05/1.032, allocations: 31.98 kB / 1.118 GB, free: 1.242 MB / 0.7136 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.0001957/1.032, allocations: 108.9 kB / 1.118 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001338/1.034, allocations: 0.7685 MB / 1.119 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/1.034, allocations: 11.09 kB / 1.119 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/1.037, allocations: 1.338 MB / 1.121 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.037, allocations: 4 kB / 1.121 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.037, allocations: 4 kB / 1.121 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.037, allocations: 3.938 kB / 1.121 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/1.04, allocations: 1.7 MB / 1.122 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.04, allocations: 0 / 1.122 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007983/1.041, allocations: 115.9 kB / 1.122 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/1.041, allocations: 4.031 kB / 1.122 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/1.041, allocations: 23.95 kB / 1.122 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.041, allocations: 7.938 kB / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.041, allocations: 0 / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/1.043, allocations: 1.38 MB / 1.124 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/1.043, allocations: 99.08 kB / 1.124 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/1.043, allocations: 4.016 kB / 1.124 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/1.044, allocations: 15.98 kB / 1.124 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.044, allocations: 39.97 kB / 1.124 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.452e-05/1.044, allocations: 32 kB / 1.124 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.988e-05/1.044, allocations: 75.28 kB / 1.124 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.044, allocations: 0 / 1.124 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006323/1.044, allocations: 199.7 kB / 1.124 GB, free: 11.21 MB / 0.7292 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.002913/1.047, allocations: 2.147 MB / 1.126 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00111/1.049, allocations: 0.6912 MB / 1.127 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.049, allocations: 4 kB / 1.127 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/1.049, allocations: 419.9 kB / 1.127 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/1.049, allocations: 11.86 kB / 1.127 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/1.053, allocations: 0.7821 MB / 1.128 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/1.053, allocations: 0.7218 MB / 1.129 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001425/1.055, allocations: 294.6 kB / 1.129 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/1.055, allocations: 111.4 kB / 1.129 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/1.055, allocations: 0 / 1.129 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03811/1.094, allocations: 11.23 MB / 1.14 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/1.094, allocations: 161 kB / 1.14 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.794, allocations: 0 / 1.14 GB, free: 10.61 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)