Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001739/0.001739, 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.002151/0.002151, allocations: 221.3 kB / 23.01 MB, free: 5.043 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.988 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 1.044/1.044, allocations: 150 MB / 463.2 MB, free: 10.46 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_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.002109/0.002109, allocations: 70.45 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.207, allocations: 89.17 MB / 0.7284 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002971/0.21, allocations: 1.298 MB / 0.7296 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2113, allocations: 0.6187 MB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.2113, allocations: 0 / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.2114, allocations: 0 / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.2114, allocations: 3.938 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007527/0.2122, allocations: 143.4 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.805e-05/0.2123, allocations: 23.92 kB / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.2123, allocations: 0 / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.2123, allocations: 7.938 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.2124, allocations: 15.98 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.2124, allocations: 0 / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005948/0.213, allocations: 343.3 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.213, allocations: 7.938 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.2131, allocations: 7.938 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.2134, allocations: 147.8 kB / 0.7309 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2134, allocations: 0 / 0.7309 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2134, allocations: 0 / 0.7309 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.2134, allocations: 0 / 0.7309 GB, free: 14.65 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.0005092/0.2139, allocations: 289.9 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.214, allocations: 12.03 kB / 0.7312 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.443e-05/0.214, allocations: 38.73 kB / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.2141, allocations: 8.875 kB / 0.7312 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2142, allocations: 110.5 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2142, allocations: 384 / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.2142, allocations: 8.125 kB / 0.7313 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.2144, allocations: 41.67 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2144, allocations: 0 / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2144, allocations: 4 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2144, allocations: 7.938 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/0.2144, allocations: 8 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.2147, allocations: 132.7 kB / 0.7315 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.2149, allocations: 42.61 kB / 0.7316 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.2149, allocations: 20.88 kB / 0.7316 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.215, allocations: 4 kB / 0.7316 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.215, allocations: 34.56 kB / 0.7316 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.215, allocations: 3.938 kB / 0.7316 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0007284/0.2157, allocations: 217.2 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.2158, allocations: 59.39 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.2159, allocations: 97.86 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2159, allocations: 25.7 kB / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.216, allocations: 80.14 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.216, allocations: 35.77 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.216, allocations: 17.72 kB / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2162, allocations: 314.8 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/0.2162, allocations: 11.98 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.2162, allocations: 8 kB / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.941e-05/0.2163, allocations: 37 kB / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2163, allocations: 3.938 kB / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001095/0.2164, allocations: 65.62 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2164, allocations: 4 kB / 0.7326 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2164, allocations: 8 kB / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2165, allocations: 0 / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.2165, allocations: 15.92 kB / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2165, allocations: 0 / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.2165, allocations: 0 / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2165, allocations: 8 kB / 0.7326 GB, free: 12.69 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.51e-05/0.2166, allocations: 109.8 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.2167, allocations: 7.953 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.2168, allocations: 77.8 kB / 0.7328 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2168, allocations: 8 kB / 0.7328 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2168, allocations: 0.5156 kB / 0.7328 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2168, allocations: 7.938 kB / 0.7328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.2172, allocations: 286.4 kB / 0.7331 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2172, allocations: 0 / 0.7331 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.2173, allocations: 8 kB / 0.7331 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.2173, allocations: 4 kB / 0.7331 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2173, allocations: 3.984 kB / 0.7331 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2173, allocations: 32 / 0.7331 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2173, allocations: 4 kB / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.2176, allocations: 184.3 kB / 0.7333 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.2176, allocations: 7.969 kB / 0.7333 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2177, allocations: 8 kB / 0.7333 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.2177, allocations: 0 / 0.7333 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.2178, allocations: 7.984 kB / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.2178, allocations: 8 kB / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.944e-05/0.2178, allocations: 79.28 kB / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2178, allocations: 0 / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002846/0.2181, allocations: 23.94 kB / 0.7334 GB, free: 11.78 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0007662/0.2189, allocations: 0.7327 MB / 0.7341 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.219, allocations: 27.98 kB / 0.7341 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.219, allocations: 0 / 0.7341 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.2191, allocations: 19.94 kB / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.2193, allocations: 7.938 kB / 0.7342 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.2208, allocations: 1.335 MB / 0.7355 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.2212, allocations: 0.6768 MB / 0.7361 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.2212, allocations: 8.297 kB / 0.7361 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.2212, allocations: 15.44 kB / 0.7361 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.2212, allocations: 0 / 0.7361 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.2566, allocations: 1.737 MB / 0.7378 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.83, allocations: 8.391 kB / 0.7379 GB, free: 7.258 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.71238880394958] Failed to read output from testmodel.py, exit status != 0: 11.9359917701222 11.953258014 11.736364208 Calling exit ...