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.0008357/0.0008357, 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.0008546/0.0008546, 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.865/0.865, 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.654/1.654, allocations: 389 MB / 0.633 GB, free: 12.7 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.272e-06/1.272e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.006e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001608/0.001628, allocations: 1.285 MB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006416/0.00227, allocations: 0.5378 MB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.002294, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.002311, allocations: 3.984 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.00235, allocations: 7.938 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.002818, allocations: 147.2 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.897e-05/0.002877, allocations: 19.88 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.002915, allocations: 11.92 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.002962, allocations: 7.984 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.129e-05/0.003004, allocations: 11.98 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.003017, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.003285, allocations: 271.4 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.003299, allocations: 3.984 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.003318, allocations: 11.98 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.003501, allocations: 151.5 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.003504, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.133e-06/0.003505, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003509, allocations: 0 / 1.002 GB, free: 11.03 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.0003333/0.003843, allocations: 288.2 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.003882, allocations: 9.344 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.827e-05/0.00391, allocations: 42.73 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.003934, allocations: 4.875 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.513e-05/0.00401, allocations: 113.7 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.00402, allocations: 384 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.004038, allocations: 384 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.004139, allocations: 67.95 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.004145, allocations: 192 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.004153, allocations: 384 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004158, allocations: 4.125 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.004191, allocations: 15.98 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.004312, allocations: 120.8 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.004471, allocations: 50.55 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.0045, allocations: 16.94 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.00452, allocations: 4 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.004535, allocations: 30.56 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.004536, allocations: 0 / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0004621/0.004998, allocations: 241.1 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.005024, allocations: 51.41 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.751e-05/0.005072, allocations: 102.2 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.005081, allocations: 29.64 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.005104, allocations: 84.14 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.00513, allocations: 23.8 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.005159, allocations: 21.7 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.005229, allocations: 314.8 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.005249, allocations: 11.98 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.005265, allocations: 15.98 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.219e-05/0.005308, allocations: 28.86 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.005308, allocations: 3.938 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.736e-05/0.005376, allocations: 65.88 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.005388, allocations: 4 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.005392, allocations: 4 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.005404, allocations: 3.938 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.005449, allocations: 19.92 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.005455, allocations: 0 / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.005466, allocations: 0 / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.00547, allocations: 0 / 1.004 GB, free: 9.043 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 5.438e-05/0.005524, allocations: 117.8 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-06/0.005532, allocations: 7.891 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.005634, allocations: 69.81 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.005638, allocations: 3.938 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.005642, allocations: 4 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.005645, allocations: 3.984 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.006011, allocations: 282.5 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.006014, allocations: 4.125 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.006059, allocations: 19.92 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.006061, allocations: 0 / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.006067, allocations: 4 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.006069, allocations: 0 / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.00607, allocations: 0 / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.006194, allocations: 168.4 kB / 1.004 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.006215, allocations: 20 kB / 1.004 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.006223, allocations: 4 kB / 1.004 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.143e-05/0.006265, allocations: 0 / 1.004 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.006279, allocations: 7.984 kB / 1.004 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.006283, allocations: 0 / 1.004 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.214e-05/0.006305, allocations: 83.28 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006305, allocations: 3.938 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001695/0.006475, allocations: 19.94 kB / 1.005 GB, free: 8.145 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.0003315/0.006806, allocations: 0.7288 MB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.088e-05/0.006887, allocations: 40.22 kB / 1.005 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006889, allocations: 4 kB / 1.005 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.48e-05/0.006903, allocations: 16 kB / 1.005 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.007059, allocations: 7.938 kB / 1.005 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008019/0.007861, allocations: 1.314 MB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.007901, allocations: 67.34 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.007927, allocations: 7.984 kB / 1.007 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.007957, allocations: 16.5 kB / 1.007 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of SimCode: time 6.91e-07/0.007958, allocations: 3.938 kB / 1.007 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.02266, allocations: 2.236 MB / 1.009 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.401/6.424, allocations: 7.922 kB / 1.009 GB, free: 3.762 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 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.243757092393935] Failed to read output from testmodel.py, exit status != 0: 6.502155352383852 6.510030975 6.505017049 Calling exit ...