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.0009501/0.0009501, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001023/0.001023, allocations: 173.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.8804/0.8804, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.5967/0.5967, allocations: 114 MB / 373.9 MB, free: 8.68 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.075e-05, allocations: 7.062 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001757/0.001778, allocations: 1.295 MB / 0.5555 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.002575, allocations: 0.5292 MB / 0.556 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.002606, allocations: 8 kB / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.002629, allocations: 7.922 kB / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.002667, allocations: 3.938 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.003125, allocations: 144.1 kB / 0.5561 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.532e-05/0.003201, allocations: 27.86 kB / 0.5562 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.003248, allocations: 0 / 0.5562 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.589e-05/0.003304, allocations: 11.98 kB / 0.5562 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.003355, allocations: 7.984 kB / 0.5562 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.003372, allocations: 8 kB / 0.5562 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.003652, allocations: 267.4 kB / 0.5564 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.003665, allocations: 0 / 0.5564 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.003685, allocations: 11.92 kB / 0.5564 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.003876, allocations: 155.5 kB / 0.5566 GB, free: 304 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003878, allocations: 0 / 0.5566 GB, free: 304 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/0.00388, allocations: 7.938 kB / 0.5566 GB, free: 296 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.003884, allocations: 0 / 0.5566 GB, free: 296 kB / 0.5105 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.0003551/0.004239, allocations: 282 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.004278, allocations: 8.031 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.004309, allocations: 34.75 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.004334, allocations: 12.89 kB / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.594e-05/0.00441, allocations: 101.8 kB / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.004422, allocations: 4.375 kB / 0.557 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.00444, allocations: 4.375 kB / 0.557 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.004547, allocations: 71.64 kB / 0.5571 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004554, allocations: 0 / 0.5571 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.004564, allocations: 4 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004568, allocations: 0 / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.638e-05/0.004605, allocations: 15.97 kB / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.004756, allocations: 124.7 kB / 0.5572 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.00492, allocations: 46.61 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.004948, allocations: 20.94 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.004967, allocations: 0 / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.004987, allocations: 42.44 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.004988, allocations: 0 / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0004795/0.005467, allocations: 229.1 kB / 0.5576 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.005494, allocations: 51.41 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.61e-05/0.00554, allocations: 97.84 kB / 0.5577 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.005553, allocations: 29.7 kB / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.005578, allocations: 84.14 kB / 0.5578 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.005599, allocations: 19.8 kB / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.005629, allocations: 25.7 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.005705, allocations: 314.8 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.005724, allocations: 12 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/0.00574, allocations: 11.97 kB / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.406e-05/0.005784, allocations: 40.94 kB / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.005785, allocations: 0 / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.619e-05/0.005851, allocations: 69.56 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.005864, allocations: 4 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005868, allocations: 4 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.005881, allocations: 4 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.673e-05/0.005918, allocations: 11.98 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.005923, allocations: 0 / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.005935, allocations: 4 kB / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.005939, allocations: 4 kB / 0.5583 GB, free: 14.31 MB / 0.5261 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 5.33e-05/0.005993, allocations: 105.8 kB / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.005999, allocations: 7.938 kB / 0.5584 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.006115, allocations: 81.77 kB / 0.5585 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006118, allocations: 7.984 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.006122, allocations: 0 / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.006125, allocations: 4 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.006365, allocations: 278.5 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006366, allocations: 0 / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.006406, allocations: 15.98 kB / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006408, allocations: 0 / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.006414, allocations: 0 / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.006415, allocations: 0 / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006416, allocations: 4 kB / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.006553, allocations: 180.8 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.006568, allocations: 7.984 kB / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.006578, allocations: 0 / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.593e-05/0.006624, allocations: 12.09 kB / 0.559 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.00664, allocations: 3.984 kB / 0.559 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.006645, allocations: 4 kB / 0.559 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.669e-05/0.006671, allocations: 83.27 kB / 0.5591 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006671, allocations: 0 / 0.5591 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001643/0.006836, allocations: 23.88 kB / 0.5591 GB, free: 13.42 MB / 0.5261 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.0003895/0.007225, allocations: 0.7327 MB / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.811e-05/0.007313, allocations: 28.23 kB / 0.5598 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.007315, allocations: 4 kB / 0.5598 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.007334, allocations: 23.94 kB / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.007503, allocations: 11.92 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.008727, allocations: 1.302 MB / 0.5612 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.969e-05/0.008777, allocations: 67.41 kB / 0.5612 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.008802, allocations: 8.297 kB / 0.5612 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.008835, allocations: 12.5 kB / 0.5612 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of SimCode: time 6.91e-07/0.008836, allocations: 0 / 0.5612 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.02555, allocations: 2.258 MB / 0.5634 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.503, allocations: 0 / 0.5634 GB, free: 9.055 MB / 0.5261 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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: 10.143732686527073] Failed to read output from testmodel.py, exit status != 0: 7.584493280388415 7.593973857 7.58841707 Calling exit ...