Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002647/0.002647, allocations: 216.3 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003011/0.003011, allocations: 296 kB / 312.7 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.274/1.274, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002958/0.002958, allocations: 101.8 kB / 0.74 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1833, allocations: 95.39 MB / 0.8331 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002347/0.1856, allocations: 1.274 MB / 0.8344 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1867, allocations: 0.5431 MB / 0.8349 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.1867, allocations: 0 / 0.8349 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.1867, allocations: 7.875 kB / 0.8349 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.1868, allocations: 3.984 kB / 0.8349 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.1873, allocations: 151.3 kB / 0.8351 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.729e-05/0.1874, allocations: 23.86 kB / 0.8351 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.1874, allocations: 4 kB / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.1874, allocations: 11.98 kB / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.1875, allocations: 11.92 kB / 0.8351 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1875, allocations: 0 / 0.8351 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.1879, allocations: 263.5 kB / 0.8354 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.188, allocations: 7.984 kB / 0.8354 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.188, allocations: 11.92 kB / 0.8354 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1882, allocations: 135.6 kB / 0.8355 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1882, allocations: 0 / 0.8355 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1882, allocations: 3.938 kB / 0.8355 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1883, allocations: 4 kB / 0.8355 GB, free: 5.32 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004159/0.1887, allocations: 282 kB / 0.8358 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1887, allocations: 9.344 kB / 0.8358 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.1887, allocations: 8.891 kB / 0.8358 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1889, allocations: 106.5 kB / 0.8359 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1889, allocations: 384 / 0.8359 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1889, allocations: 8.375 kB / 0.8359 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.189, allocations: 63.95 kB / 0.836 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.189, allocations: 8.188 kB / 0.836 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.189, allocations: 3.938 kB / 0.836 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.189, allocations: 0 / 0.836 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.857e-05/0.1891, allocations: 7.938 kB / 0.836 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.1892, allocations: 113.3 kB / 0.8361 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.1894, allocations: 42.56 kB / 0.8361 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.1895, allocations: 16.86 kB / 0.8362 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1895, allocations: 0 / 0.8362 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1895, allocations: 30.56 kB / 0.8362 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.1895, allocations: 4 kB / 0.8362 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.000603/0.1901, allocations: 249.1 kB / 0.8364 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1902, allocations: 51.41 kB / 0.8365 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.1902, allocations: 93.86 kB / 0.8366 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1903, allocations: 29.7 kB / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.1903, allocations: 80.14 kB / 0.8367 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.1903, allocations: 23.78 kB / 0.8367 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1904, allocations: 17.72 kB / 0.8367 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1905, allocations: 318.8 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.1906, allocations: 12.05 kB / 0.837 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.1906, allocations: 15.98 kB / 0.837 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.985e-05/0.1906, allocations: 36.86 kB / 0.8371 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1907, allocations: 7.922 kB / 0.8371 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001042/0.1908, allocations: 65.62 kB / 0.8372 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1908, allocations: 4 kB / 0.8372 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1908, allocations: 3.938 kB / 0.8372 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1908, allocations: 3.984 kB / 0.8372 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.1908, allocations: 16 kB / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1909, allocations: 0 / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.1909, allocations: 0 / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.1909, allocations: 4 kB / 0.8372 GB, free: 3.41 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 (7): * Single equations (assignments): 7 * 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 8.504e-05/0.191, allocations: 113.8 kB / 0.8373 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.191, allocations: 4 kB / 0.8373 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.1911, allocations: 77.61 kB / 0.8374 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1911, allocations: 0 / 0.8374 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1911, allocations: 3.938 kB / 0.8374 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1911, allocations: 0 / 0.8374 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.1914, allocations: 263 kB / 0.8376 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1914, allocations: 7.922 kB / 0.8376 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.1915, allocations: 8 kB / 0.8376 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1915, allocations: 0 / 0.8376 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1915, allocations: 8.031 kB / 0.8376 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1915, allocations: 0 / 0.8376 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1915, allocations: 0 / 0.8376 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.1917, allocations: 176.5 kB / 0.8378 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.1917, allocations: 11.97 kB / 0.8378 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1918, allocations: 8 kB / 0.8378 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1918, allocations: 0 / 0.8378 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.1919, allocations: 7.984 kB / 0.8378 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.1919, allocations: 0 / 0.8378 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.1919, allocations: 79.28 kB / 0.8379 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1919, allocations: 0 / 0.8379 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002553/0.1922, allocations: 35.92 kB / 0.838 GB, free: 2.543 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (6): * Single equations (assignments): 6 * 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.0001662/0.1923, allocations: 119.1 kB / 0.8381 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.1924, allocations: 35.92 kB / 0.8381 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1924, allocations: 4 kB / 0.8381 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.1925, allocations: 15.94 kB / 0.8381 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1927, allocations: 7.938 kB / 0.8381 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.1931, allocations: 197.6 kB / 0.8383 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.566e-05/0.1932, allocations: 71.25 kB / 0.8384 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.1932, allocations: 0 / 0.8384 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.1932, allocations: 15.44 kB / 0.8384 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1932, allocations: 0 / 0.8384 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of Templates: time 0.003275/0.1965, allocations: 0.6441 MB / 0.839 GB, free: 1.441 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.283366108313203] Failed to read output from testmodel.py, exit status != 0: 0.2048034481704235 0.22140614900000002 0.030020037000000003 Calling exit ...