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.906/1.906, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001727/0.001727, allocations: 192.5 kB / 377.1 MB, free: 1.516 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.864/1.864, allocations: 205.4 MB / 0.6366 GB, free: 8.566 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.0009144/0.0009144, allocations: 88.06 kB / 0.7509 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004018, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2864, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.816/1.102, allocations: 139.6 MB / 1.125 GB, free: 35.13 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.103, allocations: 85.64 kB / 1.125 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006711/1.109, allocations: 2.347 MB / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.056e-06/1.109, allocations: 0 / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.484e-05/1.11, allocations: 2.125 kB / 1.127 GB, free: 33.31 MB / 0.7292 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.0003776/1.11, allocations: 359.1 kB / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.905e-05/1.11, allocations: 12.03 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.653e-05/1.11, allocations: 35.12 kB / 1.128 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/1.11, allocations: 7.375 kB / 1.128 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/1.11, allocations: 169.1 kB / 1.128 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/1.11, allocations: 0 / 1.128 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/1.11, allocations: 16.41 kB / 1.128 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/1.11, allocations: 48.64 kB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/1.11, allocations: 0.5 kB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.11, allocations: 0 / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.11, allocations: 0 / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/1.111, allocations: 36.05 kB / 1.128 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/1.111, allocations: 168.6 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/1.111, allocations: 53.09 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/1.111, allocations: 0.557 MB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/1.111, allocations: 38.56 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/1.111, allocations: 0 / 1.129 GB, free: 31.59 MB / 0.7292 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.01883/1.13, allocations: 4.181 MB / 1.133 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/1.13, allocations: 59.34 kB / 1.133 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/1.13, allocations: 93.36 kB / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/1.13, allocations: 29.7 kB / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/1.13, allocations: 80.14 kB / 1.133 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/1.131, allocations: 54.73 kB / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/1.131, allocations: 12.12 kB / 1.133 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.237e-05/1.131, allocations: 326.2 kB / 1.133 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/1.131, allocations: 303.9 kB / 1.134 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/1.132, allocations: 311.5 kB / 1.134 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/1.132, allocations: 384 kB / 1.134 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.132, allocations: 4 kB / 1.134 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001399/1.134, allocations: 0.7831 MB / 1.135 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.134, allocations: 4 kB / 1.135 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.134, allocations: 0 / 1.135 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.134, allocations: 5.969 kB / 1.135 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008092/1.135, allocations: 97.8 kB / 1.135 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/1.135, allocations: 4.781 kB / 1.135 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/1.135, allocations: 8 kB / 1.135 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/1.135, allocations: 31.56 kB / 1.135 GB, free: 25.47 MB / 0.7292 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.0002083/1.135, allocations: 125.2 kB / 1.135 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/1.136, allocations: 8.406 kB / 1.135 GB, free: 25.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/1.139, allocations: 1.393 MB / 1.137 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.139, allocations: 4 kB / 1.137 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.139, allocations: 0 / 1.137 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.139, allocations: 3.516 kB / 1.137 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/1.141, allocations: 1.796 MB / 1.138 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.141, allocations: 0 / 1.138 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/1.142, allocations: 114.4 kB / 1.138 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/1.142, allocations: 1.5 kB / 1.138 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/1.142, allocations: 31.28 kB / 1.139 GB, free: 22.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.142, allocations: 4 kB / 1.139 GB, free: 22.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.142, allocations: 0 / 1.139 GB, free: 22.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/1.144, allocations: 1.466 MB / 1.14 GB, free: 20.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/1.144, allocations: 96.95 kB / 1.14 GB, free: 20.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/1.145, allocations: 13.17 kB / 1.14 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/1.145, allocations: 8.688 kB / 1.14 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.145, allocations: 46.12 kB / 1.14 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.764e-05/1.145, allocations: 28 kB / 1.14 GB, free: 20.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.665e-05/1.145, allocations: 83.12 kB / 1.14 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.145, allocations: 0 / 1.14 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000646/1.146, allocations: 203.1 kB / 1.14 GB, free: 20.45 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 () * 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.002721/1.149, allocations: 2.23 MB / 1.143 GB, free: 18.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001162/1.15, allocations: 0.7219 MB / 1.143 GB, free: 17.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.15, allocations: 3.938 kB / 1.143 GB, free: 17.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005818/1.15, allocations: 455.3 kB / 1.144 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/1.151, allocations: 5.406 kB / 1.144 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/1.156, allocations: 2.172 MB / 1.146 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/1.156, allocations: 0.7186 MB / 1.147 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001405/1.158, allocations: 298.5 kB / 1.147 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/1.158, allocations: 118.6 kB / 1.147 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/1.158, allocations: 0 / 1.147 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/1.189, allocations: 11.37 MB / 1.158 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/1.189, allocations: 207.8 kB / 1.158 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/3.065, allocations: 2.812 kB / 1.158 GB, free: 7.555 MB / 0.7292 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)