Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001336/0.001336, allocations: 119 kB / 19.69 MB, free: 2.199 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.001452/0.001452, allocations: 221.2 kB / 23.01 MB, free: 5.047 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.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.949/0.949, allocations: 150 MB / 463.2 MB, free: 10.45 MB / 366.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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [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.00208/0.00208, allocations: 67.91 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1814, allocations: 89.17 MB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002779/0.1842, allocations: 1.301 MB / 0.7296 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1854, allocations: 0.6227 MB / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.1854, allocations: 0 / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.1855, allocations: 3.938 kB / 0.7302 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.006e-05/0.1855, allocations: 0 / 0.7302 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.1862, allocations: 151.4 kB / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.027e-05/0.1863, allocations: 31.86 kB / 0.7304 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.1863, allocations: 3.984 kB / 0.7304 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/0.1864, allocations: 12 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.1864, allocations: 15.91 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1865, allocations: 0 / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005849/0.187, allocations: 343.3 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.1871, allocations: 7.969 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.485e-05/0.1871, allocations: 15.94 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1875, allocations: 155.8 kB / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1875, allocations: 4 kB / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1875, allocations: 0 / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1875, allocations: 0 / 0.7309 GB, free: 14.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005039/0.188, allocations: 293.9 kB / 0.7312 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.188, allocations: 12.03 kB / 0.7312 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.1881, allocations: 34.75 kB / 0.7313 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.1881, allocations: 8.875 kB / 0.7313 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1882, allocations: 106.5 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1882, allocations: 8.375 kB / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.1883, allocations: 8.125 kB / 0.7314 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1884, allocations: 45.69 kB / 0.7314 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1884, allocations: 7.938 kB / 0.7314 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1884, allocations: 0 / 0.7314 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1885, allocations: 4 kB / 0.7315 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.724e-05/0.1885, allocations: 15.98 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.1887, allocations: 132.8 kB / 0.7316 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1888, allocations: 62.5 kB / 0.7317 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.1889, allocations: 32.78 kB / 0.7317 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1889, allocations: 4 kB / 0.7317 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.189, allocations: 30.56 kB / 0.7317 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.189, allocations: 0 / 0.7317 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001242/0.1902, allocations: 455.8 kB / 0.7322 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.1903, allocations: 55.41 kB / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.1903, allocations: 93.86 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1904, allocations: 29.7 kB / 0.7323 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.1904, allocations: 84.14 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/0.1905, allocations: 43.62 kB / 0.7324 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.1905, allocations: 33.83 kB / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1907, allocations: 318.7 kB / 0.7328 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/0.1907, allocations: 23.98 kB / 0.7328 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.1908, allocations: 23.98 kB / 0.7328 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1909, allocations: 56.11 kB / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1909, allocations: 0 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000163/0.191, allocations: 97.64 kB / 0.733 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1911, allocations: 4 kB / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1911, allocations: 4 kB / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1911, allocations: 7.984 kB / 0.733 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1912, allocations: 19.94 kB / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1912, allocations: 0 / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.1912, allocations: 4 kB / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.1912, allocations: 0 / 0.733 GB, free: 12.2 MB / 0.5606 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 0.0001044/0.1913, allocations: 131.7 kB / 0.7331 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.1913, allocations: 4 kB / 0.7331 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.1916, allocations: 105.6 kB / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.1916, allocations: 8 kB / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1916, allocations: 0 / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1916, allocations: 0 / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.192, allocations: 324.8 kB / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.192, allocations: 0 / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.1921, allocations: 27.92 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1921, allocations: 0 / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1921, allocations: 4 kB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1922, allocations: 4 kB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1922, allocations: 0 / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.1924, allocations: 215.5 kB / 0.7338 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.1924, allocations: 7.984 kB / 0.7338 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1925, allocations: 0 / 0.7338 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.1925, allocations: 4 kB / 0.7338 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.1926, allocations: 15.95 kB / 0.7338 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1926, allocations: 11.94 kB / 0.7338 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.1926, allocations: 75.28 kB / 0.7339 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1926, allocations: 8.094 kB / 0.7339 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000287/0.1929, allocations: 39.86 kB / 0.734 GB, free: 11.15 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0007791/0.1937, allocations: 0.7748 MB / 0.7347 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.1938, allocations: 59.86 kB / 0.7348 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1939, allocations: 0 / 0.7348 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.1939, allocations: 35.98 kB / 0.7348 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.1941, allocations: 11.94 kB / 0.7348 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.1959, allocations: 1.5 MB / 0.7363 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1963, allocations: 0.6855 MB / 0.7369 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.888e-05/0.1963, allocations: 15.97 kB / 0.737 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.1964, allocations: 15.44 kB / 0.737 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.1964, allocations: 0 / 0.737 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.229, allocations: 2.207 MB / 0.7391 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.83, allocations: 0 / 0.7391 GB, free: 5.898 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.500067900167778] Failed to read output from testmodel.py, exit status != 0: 11.933964465977624 11.958324948 11.766214988 Calling exit ...