Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.0008517/0.0008517, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009852/0.0009852, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8511/0.8511, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.705/1.705, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.101e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001581/0.001602, allocations: 1.294 MB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007404/0.002342, allocations: 0.53 MB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.002365, allocations: 0 / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.002383, allocations: 3.938 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.00242, allocations: 4 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.002827, allocations: 151.2 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.797e-05/0.002885, allocations: 23.86 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.002921, allocations: 4 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.777e-05/0.002969, allocations: 15.92 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.003012, allocations: 7.984 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.003024, allocations: 0 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.003286, allocations: 271.4 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.003299, allocations: 0 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.003316, allocations: 11.92 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.003496, allocations: 155.5 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003498, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003499, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003503, allocations: 4 kB / 1.002 GB, free: 11.04 MB / 0.9636 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.0003015/0.003804, allocations: 284 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.003841, allocations: 9.344 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.603e-05/0.003867, allocations: 34.75 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.00389, allocations: 0.9375 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.581e-05/0.003955, allocations: 109.8 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.003965, allocations: 384 / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.003983, allocations: 8.312 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.642e-05/0.00408, allocations: 67.89 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.004086, allocations: 192 / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.004094, allocations: 4.375 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004099, allocations: 8.125 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.004131, allocations: 8 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.004254, allocations: 128.7 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.004409, allocations: 46.61 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.004434, allocations: 16.8 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.004453, allocations: 8.078 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.004468, allocations: 30.56 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.004469, allocations: 0 / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0004572/0.004926, allocations: 249.4 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.004952, allocations: 55.41 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.376e-05/0.004995, allocations: 97.84 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.005005, allocations: 29.7 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.078e-05/0.005025, allocations: 80.14 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.005049, allocations: 23.8 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.005075, allocations: 17.72 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.005143, allocations: 318.8 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.005166, allocations: 8 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.6e-05/0.005182, allocations: 12 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.473e-05/0.005227, allocations: 40.72 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.005227, allocations: 4 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.619e-05/0.005293, allocations: 65.69 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.005305, allocations: 4 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005309, allocations: 0 / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.00532, allocations: 3.938 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.75e-05/0.005357, allocations: 12 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.005361, allocations: 0 / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.036e-05/0.005372, allocations: 0 / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.005376, allocations: 0 / 1.004 GB, free: 9.059 MB / 0.9636 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 4.843e-05/0.005424, allocations: 117.8 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.005432, allocations: 7.938 kB / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.005533, allocations: 73.81 kB / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.005535, allocations: 3.938 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.005539, allocations: 3.938 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.005542, allocations: 0 / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.005763, allocations: 286.5 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.005765, allocations: 4.125 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.005806, allocations: 12 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.005808, allocations: 0 / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.005815, allocations: 7.984 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.005817, allocations: 0 / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005818, allocations: 4.031 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.005944, allocations: 176.3 kB / 1.004 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.005963, allocations: 15.91 kB / 1.004 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.005974, allocations: 4 kB / 1.004 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.006016, allocations: 0 / 1.004 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.00603, allocations: 4 kB / 1.004 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.006036, allocations: 3.984 kB / 1.004 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.323e-05/0.006059, allocations: 79.28 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006059, allocations: 0 / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001672/0.006226, allocations: 23.94 kB / 1.005 GB, free: 8.156 MB / 0.9636 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.0003608/0.006587, allocations: 0.7289 MB / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.852e-05/0.006675, allocations: 36.22 kB / 1.005 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.006677, allocations: 0 / 1.005 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.648e-05/0.006694, allocations: 15.94 kB / 1.005 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.00686, allocations: 11.94 kB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008494/0.007709, allocations: 1.318 MB / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.957e-05/0.007759, allocations: 63.34 kB / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.36e-05/0.007783, allocations: 4 kB / 1.007 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.007816, allocations: 16.48 kB / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.007816, allocations: 0 / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.02258, allocations: 2.241 MB / 1.009 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.358/6.38, allocations: 6.422 kB / 1.009 GB, free: 3.785 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 10.382834660820663] Failed to read output from testmodel.py, exit status != 0: 6.458899631164968 6.46717674 6.462047868 Calling exit ...