Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 109 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 286.5 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.314/1.314, allocations: 180.9 MB / 0.5261 GB, free: 14.8 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 100.6 kB / 0.7248 GB, free: 39.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1838, allocations: 94.16 MB / 0.8168 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002084/0.1858, allocations: 0.6055 MB / 0.8174 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1876, allocations: 1.291 MB / 0.8186 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.1876, allocations: 0 / 0.8186 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.1876, allocations: 0 / 0.8186 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.965e-05/0.1876, allocations: 3.938 kB / 0.8186 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.188, allocations: 79.72 kB / 0.8187 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.744e-05/0.1881, allocations: 23.92 kB / 0.8187 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.933e-05/0.1882, allocations: 3.984 kB / 0.8187 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.1882, allocations: 4 kB / 0.8187 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.791e-05/0.1883, allocations: 27.91 kB / 0.8188 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1883, allocations: 3.938 kB / 0.8188 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.1885, allocations: 103.9 kB / 0.8189 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.1885, allocations: 4 kB / 0.8189 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.1886, allocations: 7.938 kB / 0.8189 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1887, allocations: 68.06 kB / 0.8189 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1887, allocations: 0 / 0.8189 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1887, allocations: 0 / 0.8189 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.1887, allocations: 0 / 0.8189 GB, free: 3.082 MB / 0.5606 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.0004843/0.1892, allocations: 363.2 kB / 0.8193 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1892, allocations: 12.03 kB / 0.8193 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1893, allocations: 30.75 kB / 0.8193 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.1893, allocations: 8.938 kB / 0.8193 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1895, allocations: 164.4 kB / 0.8195 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1895, allocations: 8.312 kB / 0.8195 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1895, allocations: 4.375 kB / 0.8195 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1896, allocations: 61.78 kB / 0.8196 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1897, allocations: 3.953 kB / 0.8196 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1897, allocations: 4 kB / 0.8196 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1897, allocations: 4 kB / 0.8196 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.932e-05/0.1897, allocations: 23.92 kB / 0.8196 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.1899, allocations: 169.6 kB / 0.8198 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1901, allocations: 58.55 kB / 0.8198 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.1901, allocations: 20.86 kB / 0.8198 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/0.1907, allocations: 0.5622 MB / 0.8204 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1907, allocations: 38.5 kB / 0.8204 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1907, allocations: 0 / 0.8204 GB, free: 1.266 MB / 0.5606 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.01972/0.2104, allocations: 4.369 MB / 0.8247 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2105, allocations: 55.34 kB / 0.8247 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.2106, allocations: 97.86 kB / 0.8248 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.75e-05/0.2106, allocations: 25.7 kB / 0.8249 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.2107, allocations: 85.84 kB / 0.8249 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.2108, allocations: 67.45 kB / 0.825 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.2111, allocations: 93.8 kB / 0.8251 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2112, allocations: 322.7 kB / 0.8254 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/0.2118, allocations: 311.9 kB / 0.8257 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.2123, allocations: 310.8 kB / 0.826 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.2139, allocations: 0.7779 MB / 0.8268 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2139, allocations: 0 / 0.8268 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001628/0.2155, allocations: 0.8004 MB / 0.8275 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.2155, allocations: 8 kB / 0.8276 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2155, allocations: 0 / 0.8276 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.2155, allocations: 4 kB / 0.8276 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008037/0.2163, allocations: 91.94 kB / 0.8276 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.2164, allocations: 4.547 kB / 0.8276 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.2168, allocations: 4 kB / 0.8277 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/0.2169, allocations: 35.98 kB / 0.8277 GB, free: 9.633 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.2171, allocations: 121.7 kB / 0.8278 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.2172, allocations: 11.94 kB / 0.8278 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/0.2203, allocations: 1.396 MB / 0.8292 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.2203, allocations: 4 kB / 0.8292 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2204, allocations: 0 / 0.8292 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2204, allocations: 0 / 0.8292 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.2235, allocations: 1.827 MB / 0.831 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2235, allocations: 4.031 kB / 0.831 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/0.2242, allocations: 103.9 kB / 0.8311 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.2242, allocations: 4 kB / 0.8311 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/0.2243, allocations: 31.94 kB / 0.8311 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.2243, allocations: 11.94 kB / 0.8311 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2243, allocations: 0 / 0.8311 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.2267, allocations: 1.458 MB / 0.8325 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.2268, allocations: 97.05 kB / 0.8326 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.2269, allocations: 11.94 kB / 0.8326 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.2274, allocations: 12 kB / 0.8327 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.2275, allocations: 43.95 kB / 0.8327 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/0.2276, allocations: 28 kB / 0.8327 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.2276, allocations: 79.28 kB / 0.8328 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2276, allocations: 0 / 0.8328 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000599/0.2282, allocations: 179.7 kB / 0.833 GB, free: 4.105 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003148/0.2314, allocations: 2.143 MB / 0.8351 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.2327, allocations: 0.7145 MB / 0.8358 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.2327, allocations: 3.938 kB / 0.8358 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006447/0.2333, allocations: 399.8 kB / 0.8361 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.2336, allocations: 21.42 kB / 0.8362 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/0.2411, allocations: 3.716 MB / 0.8398 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2415, allocations: 0.7142 MB / 0.8405 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001038/0.2425, allocations: 297.5 kB / 0.8408 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/0.243, allocations: 115.4 kB / 0.8409 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of SimCode: time 1.333e-06/0.243, allocations: 0 / 0.8409 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/0.2826, allocations: 12.78 MB / 0.8534 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.458, allocations: 7.875 kB / 0.8534 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.669851972721517] Failed to read output from testmodel.py, exit status != 0: 8.528767156880349 8.543517453 8.351990383 Calling exit ...