Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008873/0.0008873, 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.001073/0.001073, 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.8308/0.8308, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002179/0.002179, allocations: 241.2 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6373/0.6373, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.183e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001696/0.001718, allocations: 1.298 MB / 0.6476 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006361/0.002354, allocations: 0.541 MB / 0.6481 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.002379, allocations: 0 / 0.6481 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.002396, allocations: 3.938 kB / 0.6481 GB, free: 56 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.492e-05/0.002431, allocations: 3.984 kB / 0.6481 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2206/0.2231, allocations: 149.8 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.2231, allocations: 19 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.2232, allocations: 4.297 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.2232, allocations: 16.55 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.2233, allocations: 7.734 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.2233, allocations: 0 / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.2236, allocations: 269.5 kB / 0.6485 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.2237, allocations: 6.078 kB / 0.6485 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.2237, allocations: 5.969 kB / 0.6485 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.2239, allocations: 158.2 kB / 0.6487 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2239, allocations: 0.875 kB / 0.6487 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2239, allocations: 0.875 kB / 0.6487 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2239, allocations: 0 / 0.6487 GB, free: 55.93 MB / 0.5573 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.0003314/0.2243, allocations: 291.6 kB / 0.649 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2243, allocations: 11.62 kB / 0.649 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.441e-05/0.2243, allocations: 33.7 kB / 0.649 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.2244, allocations: 5.25 kB / 0.649 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.612e-05/0.2244, allocations: 104.3 kB / 0.6491 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.2244, allocations: 2.781 kB / 0.6491 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.2244, allocations: 3.844 kB / 0.6491 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.2245, allocations: 69.69 kB / 0.6492 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2245, allocations: 3.219 kB / 0.6492 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2246, allocations: 0.9375 kB / 0.6492 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2246, allocations: 5 kB / 0.6492 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.2246, allocations: 12.56 kB / 0.6492 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.2247, allocations: 130.6 kB / 0.6493 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.2249, allocations: 45.52 kB / 0.6494 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.2249, allocations: 18.86 kB / 0.6494 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.2249, allocations: 2.938 kB / 0.6494 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.225, allocations: 35.66 kB / 0.6494 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.225, allocations: 1.656 kB / 0.6494 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0005215/0.2255, allocations: 238.4 kB / 0.6497 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.2255, allocations: 51.41 kB / 0.6497 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.934e-05/0.2255, allocations: 97.72 kB / 0.6498 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.2255, allocations: 30.08 kB / 0.6498 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.177e-05/0.2256, allocations: 81.55 kB / 0.6499 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.2256, allocations: 24.95 kB / 0.6499 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.2256, allocations: 19.28 kB / 0.65 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.849e-05/0.2256, allocations: 314.4 kB / 0.6503 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.2257, allocations: 14.36 kB / 0.6503 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/0.2257, allocations: 11.84 kB / 0.6503 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.062e-05/0.2257, allocations: 35.3 kB / 0.6503 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2257, allocations: 0 / 0.6503 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.877e-05/0.2258, allocations: 64.66 kB / 0.6504 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2258, allocations: 5.938 kB / 0.6504 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2258, allocations: 0.8125 kB / 0.6504 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2258, allocations: 5.125 kB / 0.6504 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.461e-05/0.2259, allocations: 16.62 kB / 0.6504 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2259, allocations: 0 / 0.6504 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.2e-05/0.2259, allocations: 1.516 kB / 0.6504 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.2259, allocations: 7.031 kB / 0.6504 GB, free: 54.36 MB / 0.5573 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.517e-05/0.226, allocations: 110.6 kB / 0.6505 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.226, allocations: 7.641 kB / 0.6505 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.2261, allocations: 75.8 kB / 0.6506 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2261, allocations: 4.688 kB / 0.6506 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2261, allocations: 1.531 kB / 0.6506 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2261, allocations: 1.312 kB / 0.6506 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.2263, allocations: 278.3 kB / 0.6509 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2263, allocations: 8.719 kB / 0.6509 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.2264, allocations: 12.53 kB / 0.6509 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2264, allocations: 0.9062 kB / 0.6509 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.2264, allocations: 6.484 kB / 0.6509 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2264, allocations: 3.625 kB / 0.6509 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2264, allocations: 1.641 kB / 0.6509 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.2265, allocations: 176.6 kB / 0.6511 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.2265, allocations: 16.02 kB / 0.6511 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.2265, allocations: 3.312 kB / 0.6511 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.344e-05/0.2266, allocations: 2.438 kB / 0.6511 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.2266, allocations: 4.438 kB / 0.6511 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2266, allocations: 4.938 kB / 0.6511 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.518e-05/0.2266, allocations: 81.94 kB / 0.6512 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2266, allocations: 0 / 0.6512 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001806/0.2268, allocations: 24.92 kB / 0.6512 GB, free: 53.71 MB / 0.5573 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.0003151/0.2271, allocations: 0.7315 MB / 0.6519 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.2272, allocations: 36.78 kB / 0.652 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2272, allocations: 1.031 kB / 0.652 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.958e-05/0.2273, allocations: 18.27 kB / 0.652 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.2274, allocations: 5.781 kB / 0.652 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007086/0.2281, allocations: 1.304 MB / 0.6533 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.2282, allocations: 63.88 kB / 0.6533 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.2282, allocations: 6.75 kB / 0.6533 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.2282, allocations: 16.7 kB / 0.6533 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.2282, allocations: 0 / 0.6533 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.2583, allocations: 2.248 MB / 0.6555 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.522/6.78, allocations: 18.59 kB / 0.6555 GB, free: 50.98 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.268964345566928] Failed to read output from testmodel.py, exit status != 0: 6.856362455524504 6.864174875 6.638432075 Calling exit ...