Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001139/0.001139, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.0009112/0.0009112, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9029/0.9029, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5392/0.5392, allocations: 114 MB / 373.9 MB, free: 8.715 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_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.841e-05, allocations: 7.625 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002546/0.002574, allocations: 1.296 MB / 0.5555 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.003633, allocations: 0.5448 MB / 0.556 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.003676, allocations: 0 / 0.556 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.003706, allocations: 3.938 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.003754, allocations: 3.984 kB / 0.556 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.004548, allocations: 155.2 kB / 0.5561 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.55e-05/0.004623, allocations: 27.86 kB / 0.5562 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.004677, allocations: 8 kB / 0.5562 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.524e-05/0.004722, allocations: 15.98 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.004786, allocations: 11.97 kB / 0.5562 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.004804, allocations: 0 / 0.5562 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.005207, allocations: 271.4 kB / 0.5565 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.00523, allocations: 7.984 kB / 0.5565 GB, free: 428 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.005281, allocations: 15.92 kB / 0.5565 GB, free: 412 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.005546, allocations: 155.6 kB / 0.5566 GB, free: 256 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.005549, allocations: 3.938 kB / 0.5566 GB, free: 252 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/0.00555, allocations: 0 / 0.5566 GB, free: 252 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.005555, allocations: 4 kB / 0.5566 GB, free: 248 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004212/0.005976, allocations: 290 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.006023, allocations: 12.62 kB / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.006062, allocations: 42.69 kB / 0.557 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.006094, allocations: 8.891 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.063e-05/0.006185, allocations: 105.7 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.006204, allocations: 4.375 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.006232, allocations: 4.375 kB / 0.5571 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.006376, allocations: 105.4 kB / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.006388, allocations: 0 / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.006399, allocations: 8 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.006406, allocations: 4 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.244e-05/0.006458, allocations: 19.97 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.006624, allocations: 132.7 kB / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.006737, allocations: 58.48 kB / 0.5574 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.006776, allocations: 24.86 kB / 0.5574 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.006798, allocations: 4 kB / 0.5574 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.006825, allocations: 34.5 kB / 0.5575 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.006826, allocations: 0 / 0.5575 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001074/0.007899, allocations: 451.6 kB / 0.5579 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.007932, allocations: 51.41 kB / 0.5579 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.007993, allocations: 101.8 kB / 0.558 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.008009, allocations: 25.7 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.00804, allocations: 84.14 kB / 0.5581 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.008081, allocations: 39.64 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.008131, allocations: 29.72 kB / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.008225, allocations: 314.8 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-05/0.008273, allocations: 24.12 kB / 0.5585 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.008311, allocations: 19.98 kB / 0.5586 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.008415, allocations: 71.42 kB / 0.5586 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.008416, allocations: 3.938 kB / 0.5586 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001465/0.008562, allocations: 97.61 kB / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.008577, allocations: 4 kB / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.008582, allocations: 0 / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.008596, allocations: 4 kB / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.008703, allocations: 19.98 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.008709, allocations: 3.938 kB / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.008731, allocations: 0 / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.008739, allocations: 8.094 kB / 0.5588 GB, free: 13.82 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 (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 7.417e-05/0.008813, allocations: 117.8 kB / 0.5589 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.008832, allocations: 11.89 kB / 0.5589 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.009035, allocations: 113.2 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.009037, allocations: 0 / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.009042, allocations: 4 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.009046, allocations: 0 / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.009448, allocations: 321.5 kB / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.009451, allocations: 0 / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.009559, allocations: 20 kB / 0.5593 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.009562, allocations: 4 kB / 0.5593 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.009575, allocations: 4 kB / 0.5593 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.009577, allocations: 0 / 0.5593 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.009583, allocations: 11.92 kB / 0.5593 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.009842, allocations: 211.4 kB / 0.5595 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.009853, allocations: 7.984 kB / 0.5595 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.009871, allocations: 4 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.009967, allocations: 4 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.009988, allocations: 3.984 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.009998, allocations: 8 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.01004, allocations: 87.33 kB / 0.5596 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01004, allocations: 0 / 0.5596 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002952/0.01033, allocations: 35.88 kB / 0.5597 GB, free: 12.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0005811/0.01091, allocations: 0.7747 MB / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.01106, allocations: 63.91 kB / 0.5605 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01106, allocations: 0 / 0.5605 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.693e-05/0.01111, allocations: 28 kB / 0.5605 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.01135, allocations: 7.562 kB / 0.5605 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.01271, allocations: 1.475 MB / 0.562 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.629e-05/0.01276, allocations: 71.33 kB / 0.562 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.0128, allocations: 8 kB / 0.5621 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.01285, allocations: 20.48 kB / 0.5621 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/0.01286, allocations: 0 / 0.5621 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.03069, allocations: 2.706 MB / 0.5647 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/7.309, allocations: 4 kB / 0.5647 GB, free: 7.742 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_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_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.867259539663792] Failed to read output from testmodel.py, exit status != 0: 7.387680055573583 7.395338517 7.388148721 Calling exit ...