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.0007931/0.0007931, 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.0007618/0.0007618, 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.8553/0.8553, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001434/0.001434, allocations: 232.4 kB / 259.4 MB, free: 13.02 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.6578/0.6578, 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 2.024e-06/2.024e-06, allocations: 0 / 0.6463 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.459e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002034/0.002059, allocations: 1.294 MB / 0.6476 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006428/0.002702, allocations: 0.5487 MB / 0.6481 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.002726, allocations: 0 / 0.6481 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.002742, allocations: 0 / 0.6481 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.367e-05/0.002775, allocations: 0 / 0.6481 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2166/0.2194, allocations: 151.1 kB / 0.6482 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.2195, allocations: 19.59 kB / 0.6482 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.2195, allocations: 5 kB / 0.6483 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.2196, allocations: 15.83 kB / 0.6483 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.2196, allocations: 8.562 kB / 0.6483 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.2196, allocations: 0 / 0.6483 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.2199, allocations: 270.8 kB / 0.6485 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.22, allocations: 5.609 kB / 0.6485 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.22, allocations: 5.672 kB / 0.6485 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.2202, allocations: 155.9 kB / 0.6487 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2202, allocations: 0 / 0.6487 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2202, allocations: 1.219 kB / 0.6487 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2202, allocations: 0.75 kB / 0.6487 GB, free: 55.77 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.0002913/0.2205, allocations: 290.7 kB / 0.649 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2205, allocations: 10.31 kB / 0.649 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.284e-05/0.2205, allocations: 33.83 kB / 0.649 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.2206, allocations: 3.531 kB / 0.649 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.701e-05/0.2206, allocations: 110 kB / 0.6491 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2206, allocations: 4 kB / 0.6491 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.2207, allocations: 2.938 kB / 0.6491 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.553e-05/0.2208, allocations: 70.69 kB / 0.6492 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2208, allocations: 1.281 kB / 0.6492 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.2208, allocations: 1.344 kB / 0.6492 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2208, allocations: 4.125 kB / 0.6492 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.2208, allocations: 11.59 kB / 0.6492 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.768e-05/0.2209, allocations: 127 kB / 0.6493 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.2211, allocations: 45.67 kB / 0.6494 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.2211, allocations: 18.92 kB / 0.6494 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.2211, allocations: 3.406 kB / 0.6494 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.2211, allocations: 33.41 kB / 0.6494 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2211, allocations: 1.406 kB / 0.6494 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0004415/0.2216, allocations: 238.4 kB / 0.6497 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.2216, allocations: 57.09 kB / 0.6497 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.482e-05/0.2216, allocations: 101 kB / 0.6498 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.2216, allocations: 29.42 kB / 0.6498 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.126e-05/0.2216, allocations: 80.98 kB / 0.6499 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2216, allocations: 23.64 kB / 0.6499 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.2217, allocations: 19.5 kB / 0.65 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.747e-05/0.2217, allocations: 315.5 kB / 0.6503 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.2217, allocations: 12.77 kB / 0.6503 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.829e-05/0.2217, allocations: 11.97 kB / 0.6503 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.418e-05/0.2218, allocations: 32.33 kB / 0.6503 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2218, allocations: 0 / 0.6503 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.712e-05/0.2219, allocations: 68.09 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2219, allocations: 5.438 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.2219, allocations: 1.906 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2219, allocations: 4.719 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.709e-05/0.2219, allocations: 12.03 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.2219, allocations: 2.844 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.2219, allocations: 1.312 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.2219, allocations: 2.594 kB / 0.6504 GB, free: 54.21 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 3.367e-05/0.222, allocations: 112.7 kB / 0.6505 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-06/0.222, allocations: 5.766 kB / 0.6505 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.971e-05/0.2221, allocations: 76 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2221, allocations: 5.594 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2221, allocations: 3.672 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2221, allocations: 5.312 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.2223, allocations: 278.8 kB / 0.6509 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2223, allocations: 4.781 kB / 0.6509 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.2223, allocations: 14.72 kB / 0.6509 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2223, allocations: 1.656 kB / 0.6509 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.2223, allocations: 2.156 kB / 0.6509 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2223, allocations: 3.172 kB / 0.6509 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2223, allocations: 3.969 kB / 0.6509 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.2224, allocations: 172.8 kB / 0.6511 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.2224, allocations: 13.5 kB / 0.6511 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.2225, allocations: 5.391 kB / 0.6511 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.2225, allocations: 3.594 kB / 0.6511 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.2225, allocations: 8.781 kB / 0.6511 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.2225, allocations: 2.781 kB / 0.6511 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.254e-05/0.2225, allocations: 83.95 kB / 0.6512 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2225, allocations: 1.719 kB / 0.6512 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001553/0.2227, allocations: 23.86 kB / 0.6512 GB, free: 53.55 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.0002347/0.2229, allocations: 0.7318 MB / 0.6519 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.121e-05/0.223, allocations: 35.88 kB / 0.652 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.223, allocations: 0 / 0.652 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.223, allocations: 17.03 kB / 0.652 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.2231, allocations: 9.859 kB / 0.652 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.2237, allocations: 1.303 MB / 0.6533 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.597e-05/0.2238, allocations: 64.38 kB / 0.6533 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.2238, allocations: 6.797 kB / 0.6533 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.2238, allocations: 17.03 kB / 0.6533 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.2238, allocations: 0 / 0.6533 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.2381, allocations: 2.255 MB / 0.6555 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.397/6.635, allocations: 10.64 kB / 0.6555 GB, free: 50.82 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 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.106587641872466] Failed to read output from testmodel.py, exit status != 0: 6.7130226930603385 6.722812087 6.500681749 Calling exit ...