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.001407/0.001407, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001583/0.001583, allocations: 215.8 kB / 22.99 MB, free: 4.977 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9905/0.9905, allocations: 149.9 MB / 463.1 MB, free: 10.35 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_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.002388/0.002388, allocations: 66 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1877, allocations: 89.17 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002757/0.1905, allocations: 1.282 MB / 0.7294 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1916, allocations: 0.5371 MB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.1916, allocations: 0 / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.1917, allocations: 3.938 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.97e-05/0.1917, allocations: 0 / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.1924, allocations: 151.4 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.1924, allocations: 15.92 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.1925, allocations: 0 / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.1925, allocations: 19.92 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.152e-05/0.1926, allocations: 7.938 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1926, allocations: 7.984 kB / 0.7301 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.193, allocations: 263.5 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.1931, allocations: 7.938 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.1931, allocations: 7.984 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.1934, allocations: 135.8 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1934, allocations: 0 / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1934, allocations: 0 / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.1934, allocations: 4 kB / 0.7305 GB, free: 14.56 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004218/0.1938, allocations: 286 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1938, allocations: 12.03 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.1939, allocations: 30.75 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.1939, allocations: 8.875 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.194, allocations: 106.5 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.194, allocations: 4.375 kB / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.194, allocations: 4.125 kB / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1942, allocations: 67.39 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1942, allocations: 0 / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1942, allocations: 3.938 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1942, allocations: 0 / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.424e-05/0.1942, allocations: 15.98 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.1944, allocations: 140.7 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1946, allocations: 42.5 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.1946, allocations: 24.78 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1947, allocations: 0 / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1947, allocations: 38.56 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1947, allocations: 0 / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006112/0.1953, allocations: 221.3 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1953, allocations: 51.41 kB / 0.7315 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.241e-05/0.1954, allocations: 101.8 kB / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1955, allocations: 33.7 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.1955, allocations: 84.08 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.1955, allocations: 23.78 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.1956, allocations: 21.72 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1957, allocations: 310.8 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.321e-05/0.1957, allocations: 15.98 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.1958, allocations: 12 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.1958, allocations: 25.02 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1958, allocations: 3.938 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000117/0.1959, allocations: 69.67 kB / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.196, allocations: 12 kB / 0.7322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.196, allocations: 0 / 0.7322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.196, allocations: 3.938 kB / 0.7322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.196, allocations: 15.92 kB / 0.7322 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1961, allocations: 0 / 0.7322 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.1961, allocations: 4 kB / 0.7322 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.1961, allocations: 0 / 0.7322 GB, free: 12.58 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 (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.679e-05/0.1962, allocations: 117.8 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1962, allocations: 3.953 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.1963, allocations: 69.73 kB / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1963, allocations: 8 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1963, allocations: 3.938 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1963, allocations: 0 / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.1967, allocations: 290.6 kB / 0.7327 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1967, allocations: 3.938 kB / 0.7327 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.1968, allocations: 15.94 kB / 0.7327 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1968, allocations: 0 / 0.7327 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1968, allocations: 0 / 0.7327 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1968, allocations: 4 kB / 0.7327 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1968, allocations: 0 / 0.7327 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.197, allocations: 176.4 kB / 0.7329 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.197, allocations: 12.05 kB / 0.7329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.197, allocations: 0 / 0.7329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.1971, allocations: 11.98 kB / 0.7329 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.1971, allocations: 0 / 0.7329 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1971, allocations: 7.938 kB / 0.7329 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.607e-05/0.1972, allocations: 83.73 kB / 0.733 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1972, allocations: 0 / 0.733 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000263/0.1974, allocations: 23.92 kB / 0.733 GB, free: 11.67 MB / 0.5606 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.0005997/0.198, allocations: 0.7211 MB / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1982, allocations: 39.98 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1982, allocations: 0 / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.1982, allocations: 15.98 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.1984, allocations: 7.938 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.1998, allocations: 1.335 MB / 0.7351 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.045e-05/0.1999, allocations: 63.34 kB / 0.7352 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.1999, allocations: 4.312 kB / 0.7352 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.1999, allocations: 11.44 kB / 0.7352 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.1999, allocations: 0 / 0.7352 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.2311, allocations: 2.087 MB / 0.7372 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.45, allocations: 4.938 kB / 0.7372 GB, free: 7.43 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.307868795935065] Failed to read output from testmodel.py, exit status != 0: 11.56205248599872 11.578933439 11.38226545 Calling exit ...