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.001796/0.001796, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002333/0.002333, allocations: 218 kB / 23 MB, free: 5.004 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9836/0.9836, allocations: 150 MB / 463.2 MB, free: 10.48 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.002123/0.002123, allocations: 62.56 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1971, allocations: 89.18 MB / 0.7284 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002919/0.2, allocations: 1.287 MB / 0.7296 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.2012, allocations: 0.6072 MB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.2013, allocations: 0 / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.2013, allocations: 4 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.2013, allocations: 3.938 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/0.202, allocations: 143.4 kB / 0.7304 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.442e-05/0.2021, allocations: 27.91 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.2021, allocations: 0 / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.2022, allocations: 11.94 kB / 0.7304 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.2023, allocations: 7.984 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.2023, allocations: 0 / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005663/0.2028, allocations: 347.3 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.2029, allocations: 7.938 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.2029, allocations: 4 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.2032, allocations: 151.8 kB / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2032, allocations: 3.938 kB / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2032, allocations: 0 / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2032, allocations: 0 / 0.7309 GB, free: 14.68 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.0004654/0.2037, allocations: 286 kB / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.2037, allocations: 12.03 kB / 0.7312 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.2037, allocations: 38.67 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.2038, allocations: 4.938 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2039, allocations: 110.5 kB / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2039, allocations: 384 / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.2039, allocations: 8.125 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.2041, allocations: 41.62 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.2041, allocations: 0 / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2041, allocations: 0 / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2041, allocations: 4 kB / 0.7314 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.2041, allocations: 12 kB / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.2043, allocations: 132.7 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.2045, allocations: 46.61 kB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.2046, allocations: 20.88 kB / 0.7316 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2046, allocations: 3.938 kB / 0.7316 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.2046, allocations: 34.56 kB / 0.7316 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2046, allocations: 0 / 0.7316 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006383/0.2052, allocations: 225.2 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.2053, allocations: 59.39 kB / 0.7319 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/0.2054, allocations: 90.19 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2054, allocations: 33.7 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.2054, allocations: 80.14 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.2055, allocations: 19.78 kB / 0.7321 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.2055, allocations: 21.72 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2056, allocations: 318.8 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-05/0.2057, allocations: 15.98 kB / 0.7324 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.2057, allocations: 7.984 kB / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.716e-05/0.2058, allocations: 36.8 kB / 0.7325 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2058, allocations: 3.938 kB / 0.7325 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001082/0.2059, allocations: 61.88 kB / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2059, allocations: 4 kB / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.2059, allocations: 0 / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.2059, allocations: 7.984 kB / 0.7326 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.206, allocations: 19.98 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.206, allocations: 0 / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.206, allocations: 0 / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.206, allocations: 4 kB / 0.7326 GB, free: 12.73 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 9.099e-05/0.2061, allocations: 127.6 kB / 0.7327 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.2061, allocations: 11.89 kB / 0.7327 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.2063, allocations: 73.95 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2063, allocations: 0 / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2063, allocations: 0 / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2063, allocations: 4 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.2066, allocations: 290.6 kB / 0.7331 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2066, allocations: 0 / 0.7331 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.2067, allocations: 8 kB / 0.7331 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.2067, allocations: 4 kB / 0.7331 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.2067, allocations: 3.984 kB / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2067, allocations: 0 / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2067, allocations: 0 / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.2069, allocations: 184.3 kB / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.2069, allocations: 11.94 kB / 0.7333 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.2069, allocations: 4.031 kB / 0.7333 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.207, allocations: 0 / 0.7333 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.207, allocations: 7.984 kB / 0.7333 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.207, allocations: 3.938 kB / 0.7333 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.2071, allocations: 83.28 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2071, allocations: 4.062 kB / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002452/0.2073, allocations: 15.94 kB / 0.7334 GB, free: 11.82 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.000571/0.2079, allocations: 0.7327 MB / 0.7341 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.208, allocations: 27.98 kB / 0.7341 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.208, allocations: 4.062 kB / 0.7341 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.2081, allocations: 19.94 kB / 0.7341 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2083, allocations: 14.28 kB / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.2097, allocations: 1.323 MB / 0.7354 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.21, allocations: 0.6808 MB / 0.7361 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.21, allocations: 7.938 kB / 0.7361 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.2101, allocations: 23.36 kB / 0.7361 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2101, allocations: 0 / 0.7361 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.2422, allocations: 1.701 MB / 0.7378 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.52, allocations: 8.984 kB / 0.7378 GB, free: 7.312 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.386182852089405] Failed to read output from testmodel.py, exit status != 0: 11.622495361836627 11.647210658 11.439019696 Calling exit ...