Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001392/0.001392, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001448/0.001448, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.781 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.002573/0.002573, allocations: 290 kB / 312.7 MB, free: 2.59 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.261/1.261, allocations: 180.6 MB / 0.5369 GB, free: 14.77 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [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.003994/0.003994, allocations: 104.9 kB / 0.74 GB, free: 27.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1847, allocations: 95.38 MB / 0.8331 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002664/0.1874, allocations: 1.482 MB / 0.8346 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1887, allocations: 0.5583 MB / 0.8351 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.1887, allocations: 0 / 0.8351 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.1887, allocations: 3.938 kB / 0.8351 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.1888, allocations: 7.938 kB / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.1894, allocations: 161.6 kB / 0.8353 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1895, allocations: 55.78 kB / 0.8353 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.896e-05/0.1896, allocations: 7.906 kB / 0.8354 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.076e-05/0.1896, allocations: 31.84 kB / 0.8354 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.1897, allocations: 19.92 kB / 0.8354 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.1897, allocations: 4 kB / 0.8354 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.1903, allocations: 279.5 kB / 0.8357 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.1903, allocations: 11.92 kB / 0.8357 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.1903, allocations: 19.94 kB / 0.8357 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.1906, allocations: 167.4 kB / 0.8359 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1906, allocations: 0 / 0.8359 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1906, allocations: 0 / 0.8359 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.1906, allocations: 4 kB / 0.8359 GB, free: 5.051 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006054/0.1912, allocations: 329.8 kB / 0.8362 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1913, allocations: 9.344 kB / 0.8362 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.1913, allocations: 12.89 kB / 0.8362 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1914, allocations: 118.4 kB / 0.8363 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1914, allocations: 384 / 0.8363 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.1915, allocations: 12.38 kB / 0.8363 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.1917, allocations: 129.6 kB / 0.8365 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1918, allocations: 192 / 0.8365 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1918, allocations: 7.938 kB / 0.8365 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1918, allocations: 4 kB / 0.8365 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.192, allocations: 47.95 kB / 0.8365 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.1926, allocations: 264.3 kB / 0.8368 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.1929, allocations: 78.53 kB / 0.8368 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.193, allocations: 24.84 kB / 0.8369 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.193, allocations: 7.938 kB / 0.8369 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.193, allocations: 30.56 kB / 0.8369 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.193, allocations: 0 / 0.8369 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001687/0.1947, allocations: 0.5035 MB / 0.8374 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1948, allocations: 55.41 kB / 0.8374 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.1948, allocations: 97.84 kB / 0.8375 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1949, allocations: 29.7 kB / 0.8376 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.1949, allocations: 92.08 kB / 0.8377 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.195, allocations: 43.64 kB / 0.8377 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.195, allocations: 25.7 kB / 0.8377 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1952, allocations: 322.8 kB / 0.838 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1953, allocations: 32.06 kB / 0.8381 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1954, allocations: 31.92 kB / 0.8381 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.1957, allocations: 78.89 kB / 0.8382 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1957, allocations: 0 / 0.8382 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003621/0.196, allocations: 121.6 kB / 0.8383 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.196, allocations: 4 kB / 0.8383 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.196, allocations: 0 / 0.8383 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1961, allocations: 4 kB / 0.8383 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1962, allocations: 31.97 kB / 0.8383 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1962, allocations: 0 / 0.8383 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.932e-05/0.1963, allocations: 8 kB / 0.8383 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1963, allocations: 7.938 kB / 0.8383 GB, free: 2.293 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 (13): * Single equations (assignments): 13 * 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 9.028e-05/0.1964, allocations: 117.8 kB / 0.8384 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.1964, allocations: 7.984 kB / 0.8385 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.1969, allocations: 133.8 kB / 0.8386 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1969, allocations: 3.984 kB / 0.8386 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1969, allocations: 0 / 0.8386 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1969, allocations: 0 / 0.8386 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.1975, allocations: 326.1 kB / 0.8389 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1975, allocations: 0 / 0.8389 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.1976, allocations: 31.92 kB / 0.8389 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1976, allocations: 4 kB / 0.8389 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1976, allocations: 3.984 kB / 0.8389 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1976, allocations: 0 / 0.8389 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1976, allocations: 3.938 kB / 0.8389 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.1982, allocations: 253.2 kB / 0.8392 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.1982, allocations: 0 / 0.8392 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1982, allocations: 4.031 kB / 0.8392 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1983, allocations: 19.98 kB / 0.8392 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.1984, allocations: 3.938 kB / 0.8392 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1984, allocations: 7.984 kB / 0.8392 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.1984, allocations: 83.28 kB / 0.8393 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1984, allocations: 0 / 0.8393 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002794/0.1987, allocations: 39.88 kB / 0.8393 GB, free: 1.195 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0002115/0.1989, allocations: 139 kB / 0.8395 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003912/0.1993, allocations: 79.89 kB / 0.8395 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1993, allocations: 4 kB / 0.8395 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1995, allocations: 43.91 kB / 0.8396 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1997, allocations: 8 kB / 0.8396 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.2005, allocations: 321.9 kB / 0.8399 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.356e-05/0.2006, allocations: 79.83 kB / 0.84 GB, free: 488 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.008e-05/0.2006, allocations: 12.66 kB / 0.84 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.2006, allocations: 15.44 kB / 0.84 GB, free: 460 kB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.2006, allocations: 0 / 0.84 GB, free: 460 kB / 0.5762 GB Notification: Performance of Templates: time 0.004108/0.2048, allocations: 1.191 MB / 0.8412 GB, free: 15.32 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.196593018248677] Failed to read output from testmodel.py, exit status != 0: 0.21298721246421337 0.22716828700000002 0.033461302000000005 Calling exit ...