Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001496/0.001496, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001523/0.001523, allocations: 162.2 kB / 23.76 MB, free: 4.195 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.48/1.48, allocations: 177.2 MB / 204.1 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9368/0.9368, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: IBPSA 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.002375/0.002375, allocations: 70.75 kB / 0.555 GB, free: 2.867 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.185, allocations: 89.14 MB / 0.6421 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002964/0.188, allocations: 1.267 MB / 0.6433 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1891, allocations: 0.5372 MB / 0.6439 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.1892, allocations: 3.938 kB / 0.6439 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.1892, allocations: 3.938 kB / 0.6439 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.1892, allocations: 4 kB / 0.6439 GB, free: 7.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.1898, allocations: 154.1 kB / 0.644 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.446e-05/0.1899, allocations: 15.92 kB / 0.644 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.19, allocations: 8 kB / 0.644 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.077e-05/0.19, allocations: 15.88 kB / 0.644 GB, free: 7.668 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.1901, allocations: 11.92 kB / 0.6441 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1901, allocations: 0 / 0.6441 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.1905, allocations: 263.5 kB / 0.6443 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.1906, allocations: 8 kB / 0.6443 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.1906, allocations: 11.92 kB / 0.6443 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.1909, allocations: 139.6 kB / 0.6445 GB, free: 7.242 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1909, allocations: 3.938 kB / 0.6445 GB, free: 7.238 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1909, allocations: 0 / 0.6445 GB, free: 7.238 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.1909, allocations: 0 / 0.6445 GB, free: 7.238 MB / 0.545 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.000482/0.1914, allocations: 282 kB / 0.6447 GB, free: 6.934 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1914, allocations: 8.031 kB / 0.6447 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.1914, allocations: 4.938 kB / 0.6447 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1915, allocations: 110.5 kB / 0.6449 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1915, allocations: 4.375 kB / 0.6449 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1916, allocations: 4.375 kB / 0.6449 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1917, allocations: 75.33 kB / 0.6449 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1917, allocations: 3.984 kB / 0.6449 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1917, allocations: 0 / 0.6449 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1917, allocations: 0 / 0.6449 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.843e-05/0.1918, allocations: 11.94 kB / 0.6449 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.1919, allocations: 113.3 kB / 0.6451 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.1921, allocations: 42.56 kB / 0.6451 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.1922, allocations: 16.86 kB / 0.6451 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1922, allocations: 0 / 0.6451 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.1922, allocations: 34.5 kB / 0.6451 GB, free: 6.426 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1922, allocations: 4 kB / 0.6451 GB, free: 6.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006284/0.1928, allocations: 233.3 kB / 0.6454 GB, free: 6.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1929, allocations: 55.34 kB / 0.6454 GB, free: 6.094 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.977e-05/0.193, allocations: 93.86 kB / 0.6455 GB, free: 5.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.193, allocations: 29.7 kB / 0.6455 GB, free: 5.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.193, allocations: 84.14 kB / 0.6456 GB, free: 5.871 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.1931, allocations: 23.77 kB / 0.6456 GB, free: 5.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.1931, allocations: 21.72 kB / 0.6457 GB, free: 5.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1933, allocations: 314.8 kB / 0.646 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.1933, allocations: 19.92 kB / 0.646 GB, free: 5.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.1933, allocations: 8 kB / 0.646 GB, free: 5.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.055e-05/0.1934, allocations: 32.86 kB / 0.646 GB, free: 5.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.1934, allocations: 0 / 0.646 GB, free: 5.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001078/0.1935, allocations: 69.56 kB / 0.6461 GB, free: 5.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1935, allocations: 4 kB / 0.6461 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1935, allocations: 4 kB / 0.6461 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1936, allocations: 3.938 kB / 0.6461 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.683e-05/0.1936, allocations: 15.98 kB / 0.6461 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1936, allocations: 0 / 0.6461 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.1936, allocations: 0 / 0.6461 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1936, allocations: 4 kB / 0.6461 GB, free: 5.336 MB / 0.545 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 0.000142/0.1938, allocations: 117.1 kB / 0.6462 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.1938, allocations: 11.89 kB / 0.6462 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.194, allocations: 73.73 kB / 0.6463 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.194, allocations: 0 / 0.6463 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.194, allocations: 4 kB / 0.6463 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.194, allocations: 0 / 0.6463 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.1944, allocations: 263.7 kB / 0.6466 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1944, allocations: 7.922 kB / 0.6466 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.1944, allocations: 8 kB / 0.6466 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1944, allocations: 4 kB / 0.6466 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1944, allocations: 4.031 kB / 0.6466 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1944, allocations: 0 / 0.6466 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1944, allocations: 0 / 0.6466 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.1946, allocations: 180.3 kB / 0.6468 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.1947, allocations: 11.97 kB / 0.6468 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.1947, allocations: 4 kB / 0.6468 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.1948, allocations: 0 / 0.6468 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.1948, allocations: 11.92 kB / 0.6468 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1948, allocations: 4 kB / 0.6468 GB, free: 4.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.1948, allocations: 75.28 kB / 0.6469 GB, free: 4.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1948, allocations: 64 / 0.6469 GB, free: 4.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002739/0.1951, allocations: 31.92 kB / 0.6469 GB, free: 4.465 MB / 0.545 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.0002018/0.1953, allocations: 123 kB / 0.647 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.1954, allocations: 27.98 kB / 0.647 GB, free: 4.309 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1954, allocations: 3.938 kB / 0.647 GB, free: 4.305 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.681e-05/0.1955, allocations: 16 kB / 0.6471 GB, free: 4.289 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1957, allocations: 11.88 kB / 0.6471 GB, free: 4.281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.1961, allocations: 192.5 kB / 0.6473 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.473e-05/0.1962, allocations: 63.48 kB / 0.6473 GB, free: 3.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.1962, allocations: 12.36 kB / 0.6473 GB, free: 3.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.1962, allocations: 16.5 kB / 0.6473 GB, free: 3.953 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1962, allocations: 4 kB / 0.6473 GB, free: 3.949 MB / 0.545 GB Notification: Performance of Templates: time 0.003713/0.1999, allocations: 0.6164 MB / 0.6479 GB, free: 3.348 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.473342776065692] Failed to read output from testmodel.py, exit status != 0: 0.20987779600545764 0.22917772300000003 0.035180271 Calling exit ...