Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.0008014/0.0008014, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007744/0.0007744, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8363/0.8363, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.696/1.696, allocations: 389 MB / 0.633 GB, free: 12.68 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_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.44e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001737/0.001761, allocations: 1.293 MB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006852/0.002446, allocations: 0.5456 MB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.002473, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.002493, allocations: 3.938 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.00253, allocations: 3.938 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.003064, allocations: 163.2 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.941e-05/0.003124, allocations: 31.8 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.003174, allocations: 7.984 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.003218, allocations: 15.98 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.00329, allocations: 7.984 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.003304, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.0036, allocations: 275.4 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.003616, allocations: 7.984 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.003637, allocations: 11.94 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.003848, allocations: 159.5 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.003852, allocations: 4 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.362e-06/0.003853, allocations: 0 / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.003858, allocations: 0 / 1.002 GB, free: 10.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000335/0.004193, allocations: 290 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.004235, allocations: 13.34 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.906e-05/0.004264, allocations: 38.73 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.004291, allocations: 8.891 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.091e-05/0.004362, allocations: 101.8 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.004374, allocations: 8.312 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.004394, allocations: 4.375 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.004514, allocations: 101.7 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.004523, allocations: 192 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.004533, allocations: 8.375 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004539, allocations: 4.125 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.238e-05/0.004581, allocations: 15.98 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.004721, allocations: 136.7 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.61e-05/0.004817, allocations: 58.5 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.004851, allocations: 32.84 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.004868, allocations: 0 / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.00489, allocations: 34.8 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 7.11e-07/0.00489, allocations: 4 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0008209/0.005711, allocations: 447.7 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.005749, allocations: 59.34 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.152e-05/0.0058, allocations: 93.86 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.005812, allocations: 29.69 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.005838, allocations: 84.14 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.005874, allocations: 43.64 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.005909, allocations: 33.83 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.005991, allocations: 310.8 kB / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.006025, allocations: 27.98 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.006055, allocations: 19.98 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.006133, allocations: 67.61 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006134, allocations: 0 / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001036/0.006238, allocations: 93.67 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.006253, allocations: 7.938 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006257, allocations: 0 / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.00627, allocations: 4 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.006351, allocations: 16 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.006355, allocations: 4 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.00637, allocations: 4 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.006376, allocations: 3.984 kB / 1.004 GB, free: 8.516 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 (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 6.07e-05/0.006437, allocations: 121.8 kB / 1.004 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.006447, allocations: 7.953 kB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.006589, allocations: 101.7 kB / 1.004 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.006591, allocations: 4 kB / 1.004 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.006597, allocations: 7.922 kB / 1.004 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.006601, allocations: 3.984 kB / 1.004 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.00691, allocations: 309.6 kB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.006914, allocations: 8 kB / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.56e-05/0.00699, allocations: 19.98 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.006993, allocations: 0 / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.007, allocations: 4 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.007003, allocations: 4 kB / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.007004, allocations: 0 / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.007191, allocations: 227.3 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.007199, allocations: 11.98 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.00721, allocations: 0 / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.007264, allocations: 4 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.007281, allocations: 12.05 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.007286, allocations: 7.938 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.346e-05/0.00731, allocations: 79.28 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00731, allocations: 0 / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002034/0.007513, allocations: 39.86 kB / 1.005 GB, free: 7.477 MB / 0.9636 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.0004377/0.007951, allocations: 0.779 MB / 1.006 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.00807, allocations: 56.03 kB / 1.006 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.008073, allocations: 3.938 kB / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.008107, allocations: 32.14 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.008271, allocations: 8 kB / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.009302, allocations: 1.472 MB / 1.007 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.736e-05/0.00935, allocations: 71.33 kB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.009384, allocations: 4 kB / 1.008 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.009423, allocations: 16.5 kB / 1.008 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of SimCode: time 9.42e-07/0.009424, allocations: 4.062 kB / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.02767, allocations: 2.718 MB / 1.01 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.443/6.47, allocations: 14.28 kB / 1.01 GB, free: 2.387 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 10.250462566502392] Failed to read output from testmodel.py, exit status != 0: 6.55042826756835 6.558963296 6.553279781 Calling exit ...