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.001828/0.001828, 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.002403/0.002403, allocations: 224.3 kB / 23.01 MB, free: 5.051 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.167/1.167, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 178] 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="me",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="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.002477/0.002477, allocations: 74.23 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2098, allocations: 89.17 MB / 0.7284 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002955/0.2128, allocations: 1.496 MB / 0.7298 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.214, allocations: 0.6344 MB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.214, allocations: 0 / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.214, allocations: 3.938 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.2141, allocations: 11.92 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.2147, allocations: 159.4 kB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2148, allocations: 43.84 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.2149, allocations: 8 kB / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.672e-05/0.2149, allocations: 23.92 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.215, allocations: 31.84 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.215, allocations: 4 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005353/0.2156, allocations: 347.3 kB / 0.731 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.2156, allocations: 11.98 kB / 0.7311 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.2156, allocations: 23.86 kB / 0.7311 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.2159, allocations: 175.7 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2159, allocations: 3.938 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2159, allocations: 0 / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2159, allocations: 0 / 0.7312 GB, free: 14.32 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.0006088/0.2165, allocations: 329.8 kB / 0.7316 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2166, allocations: 12.03 kB / 0.7316 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.2166, allocations: 34.73 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.2166, allocations: 12.89 kB / 0.7316 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.2168, allocations: 106.5 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2168, allocations: 384 / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.2168, allocations: 20.08 kB / 0.7317 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.217, allocations: 77.59 kB / 0.7318 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2171, allocations: 7.938 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2171, allocations: 0 / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.2171, allocations: 4 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.2173, allocations: 55.94 kB / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.2179, allocations: 299.7 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.2181, allocations: 82.47 kB / 0.7322 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.2182, allocations: 24.84 kB / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2183, allocations: 0 / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.2183, allocations: 38.56 kB / 0.7323 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.2183, allocations: 0 / 0.7323 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001567/0.2199, allocations: 0.4941 MB / 0.7328 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2199, allocations: 59.41 kB / 0.7328 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.22, allocations: 101.8 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.22, allocations: 25.7 kB / 0.733 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.2201, allocations: 96.09 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.2201, allocations: 35.69 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.2202, allocations: 33.64 kB / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2203, allocations: 322.8 kB / 0.7334 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.2204, allocations: 23.98 kB / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2206, allocations: 39.97 kB / 0.7335 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.2208, allocations: 74.33 kB / 0.7336 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2208, allocations: 0 / 0.7336 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003055/0.2211, allocations: 119.9 kB / 0.7337 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2211, allocations: 4 kB / 0.7337 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2211, allocations: 0 / 0.7337 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2211, allocations: 7.938 kB / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2213, allocations: 31.92 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2213, allocations: 4 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.2214, allocations: 4 kB / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.2214, allocations: 12.08 kB / 0.7337 GB, free: 11.53 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 9.012e-05/0.2215, allocations: 113.8 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.2215, allocations: 7.953 kB / 0.7339 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.2219, allocations: 145.5 kB / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2219, allocations: 0 / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2219, allocations: 3.984 kB / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2219, allocations: 0 / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.2225, allocations: 353.5 kB / 0.7343 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2225, allocations: 0 / 0.7343 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.2226, allocations: 27.92 kB / 0.7344 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2226, allocations: 0 / 0.7344 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.2226, allocations: 15.98 kB / 0.7344 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2226, allocations: 0 / 0.7344 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2226, allocations: 0 / 0.7344 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.2231, allocations: 247 kB / 0.7346 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.2232, allocations: 11.98 kB / 0.7346 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.2232, allocations: 192 / 0.7346 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.2233, allocations: 12.05 kB / 0.7346 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.2233, allocations: 7.984 kB / 0.7346 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.2233, allocations: 7.984 kB / 0.7346 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.463e-05/0.2234, allocations: 83.22 kB / 0.7347 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2234, allocations: 3.938 kB / 0.7347 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002838/0.2237, allocations: 39.88 kB / 0.7348 GB, free: 10.39 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.0009059/0.2246, allocations: 0.8138 MB / 0.7356 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.2249, allocations: 79.83 kB / 0.7356 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2249, allocations: 0 / 0.7356 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.225, allocations: 47.91 kB / 0.7357 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.2253, allocations: 15.31 kB / 0.7357 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.2275, allocations: 1.598 MB / 0.7373 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2279, allocations: 0.6963 MB / 0.7379 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.737e-05/0.2279, allocations: 16.59 kB / 0.738 GB, free: 7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.228, allocations: 19.44 kB / 0.738 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.228, allocations: 0 / 0.738 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.2607, allocations: 2.465 MB / 0.7404 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.88, allocations: 6.312 kB / 0.7404 GB, free: 4.695 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 os._exit(0), Time elapsed: 16.024120000889525] Failed to read output from testmodel.py, exit status != 0: 11.991607425035909 12.012108166 11.79279369 Calling exit ...