Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001682/0.001682, allocations: 109 kB / 20.48 MB, free: 1.473 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.002064/0.002064, allocations: 211.5 kB / 23.79 MB, free: 4.684 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 / 257.6 MB, free: 8.016 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.9458/0.9458, allocations: 150 MB / 464 MB, free: 11.01 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_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",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.002221/0.002221, allocations: 70.8 kB / 0.642 GB, free: 10.72 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1912, allocations: 89.17 MB / 0.7291 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003523/0.1948, allocations: 1.491 MB / 0.7306 GB, free: 120 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1961, allocations: 0.6344 MB / 0.7312 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.1962, allocations: 4 kB / 0.7312 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.137e-05/0.1962, allocations: 7.875 kB / 0.7312 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.1963, allocations: 7.938 kB / 0.7312 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.1972, allocations: 159 kB / 0.7314 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1973, allocations: 47.84 kB / 0.7314 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.162e-05/0.1974, allocations: 8 kB / 0.7314 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.753e-05/0.1975, allocations: 27.91 kB / 0.7314 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.952e-05/0.1975, allocations: 27.86 kB / 0.7315 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1976, allocations: 4 kB / 0.7315 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006566/0.1982, allocations: 347.4 kB / 0.7318 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.1982, allocations: 11.98 kB / 0.7318 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.1983, allocations: 23.81 kB / 0.7318 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.1987, allocations: 175.4 kB / 0.732 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.1987, allocations: 3.984 kB / 0.732 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1987, allocations: 3.938 kB / 0.732 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.1987, allocations: 3.938 kB / 0.732 GB, free: 14.64 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007319/0.1995, allocations: 317.9 kB / 0.7323 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1995, allocations: 12.03 kB / 0.7323 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.98e-05/0.1995, allocations: 4.188 kB / 0.7323 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.1996, allocations: 42.73 kB / 0.7324 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1996, allocations: 8.891 kB / 0.7324 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1998, allocations: 106.5 kB / 0.7325 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.1998, allocations: 4.375 kB / 0.7325 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.1999, allocations: 15.89 kB / 0.7325 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.2001, allocations: 73.66 kB / 0.7326 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2001, allocations: 3.938 kB / 0.7326 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2002, allocations: 8 kB / 0.7326 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2002, allocations: 0 / 0.7326 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.2004, allocations: 51.95 kB / 0.7326 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.2011, allocations: 303.7 kB / 0.7329 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.2014, allocations: 82.47 kB / 0.733 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.2016, allocations: 24.84 kB / 0.733 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.2016, allocations: 8 kB / 0.733 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.2016, allocations: 34.55 kB / 0.7331 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.2016, allocations: 0 / 0.7331 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001857/0.2035, allocations: 499.6 kB / 0.7336 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.2035, allocations: 59.33 kB / 0.7336 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2036, allocations: 105.9 kB / 0.7337 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.2037, allocations: 25.7 kB / 0.7337 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.2037, allocations: 92.08 kB / 0.7338 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.2038, allocations: 35.7 kB / 0.7339 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.2038, allocations: 37.64 kB / 0.7339 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.204, allocations: 318.8 kB / 0.7342 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.2041, allocations: 27.98 kB / 0.7342 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.2043, allocations: 32.06 kB / 0.7343 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.2045, allocations: 80.77 kB / 0.7343 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2045, allocations: 0 / 0.7343 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003624/0.2049, allocations: 121.7 kB / 0.7344 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.2049, allocations: 4 kB / 0.7344 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2049, allocations: 3.938 kB / 0.7345 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.205, allocations: 0 / 0.7345 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2051, allocations: 27.92 kB / 0.7345 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2051, allocations: 8 kB / 0.7345 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.2052, allocations: 7.984 kB / 0.7345 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.2052, allocations: 8 kB / 0.7345 GB, free: 11.85 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.0001098/0.2054, allocations: 113.8 kB / 0.7346 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.2054, allocations: 7.953 kB / 0.7346 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.2058, allocations: 137.6 kB / 0.7347 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2058, allocations: 4 kB / 0.7348 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2058, allocations: 4 kB / 0.7348 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2058, allocations: 0 / 0.7348 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.2065, allocations: 347.6 kB / 0.7351 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.2065, allocations: 4 kB / 0.7351 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.2067, allocations: 27.92 kB / 0.7351 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.2067, allocations: 3.984 kB / 0.7351 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2067, allocations: 7.938 kB / 0.7351 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2067, allocations: 0 / 0.7351 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2067, allocations: 4 kB / 0.7351 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.2073, allocations: 248.5 kB / 0.7354 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.2073, allocations: 7.953 kB / 0.7354 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.2073, allocations: 0 / 0.7354 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.2075, allocations: 11.98 kB / 0.7354 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.2075, allocations: 12.23 kB / 0.7354 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.2075, allocations: 4 kB / 0.7354 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.794e-05/0.2076, allocations: 87.2 kB / 0.7355 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2076, allocations: 0 / 0.7355 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003092/0.2079, allocations: 35.88 kB / 0.7355 GB, free: 10.72 MB / 0.5606 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.001055/0.2089, allocations: 0.825 MB / 0.7363 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.2093, allocations: 79.83 kB / 0.7364 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.2093, allocations: 4 kB / 0.7364 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.2095, allocations: 47.84 kB / 0.7365 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.2099, allocations: 8 kB / 0.7365 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.2124, allocations: 1.604 MB / 0.738 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.2128, allocations: 0.6963 MB / 0.7387 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.037e-05/0.2129, allocations: 12.66 kB / 0.7387 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.2129, allocations: 19.44 kB / 0.7387 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of SimCode: time 1.193e-06/0.2129, allocations: 0 / 0.7387 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.2398, allocations: 2.493 MB / 0.7412 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.72, allocations: 7.172 kB / 0.7412 GB, free: 5.004 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.454891774978023] Failed to read output from testmodel.py, exit status != 0: 11.883300772984512 11.912358255 11.708073534 Calling exit ...