Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001466/0.001466, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001584/0.001584, allocations: 217.2 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.333/1.333, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 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 2.979/2.979, allocations: 0.505 GB / 0.8101 GB, free: 22.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 69.11 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.303, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002387/0.3054, allocations: 1.316 MB / 1.354 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3064, allocations: 0.6149 MB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.3064, allocations: 0 / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.3064, allocations: 0 / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.164e-05/0.3065, allocations: 3.938 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.307, allocations: 143.4 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.307, allocations: 19.92 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.3071, allocations: 11.94 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.3071, allocations: 4 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.854e-05/0.3072, allocations: 15.92 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.3072, allocations: 4 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005362/0.3077, allocations: 343.3 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.3077, allocations: 7.984 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.3077, allocations: 7.938 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.308, allocations: 143.8 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.308, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.61e-07/0.308, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.308, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 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.0003763/0.3084, allocations: 293.9 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3084, allocations: 16.03 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.3084, allocations: 30.75 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.3085, allocations: 0.9375 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.3086, allocations: 114.4 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3086, allocations: 384 / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3086, allocations: 8.312 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.748e-05/0.3087, allocations: 38.25 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3087, allocations: 3.938 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.3087, allocations: 0 / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3087, allocations: 4 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.61e-05/0.3088, allocations: 15.98 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.3089, allocations: 128.8 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3091, allocations: 46.5 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.3091, allocations: 16.8 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.3091, allocations: 0 / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3092, allocations: 34.56 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3092, allocations: 4 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0005532/0.3097, allocations: 237.5 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3098, allocations: 51.41 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.696e-05/0.3098, allocations: 93.86 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3098, allocations: 29.7 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.3099, allocations: 88.12 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.3099, allocations: 19.78 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.31, allocations: 25.72 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3101, allocations: 318.8 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.3101, allocations: 8 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/0.3101, allocations: 8 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.124e-05/0.3102, allocations: 40.78 kB / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3102, allocations: 0 / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001038/0.3103, allocations: 69.53 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3103, allocations: 7.984 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3103, allocations: 0 / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3103, allocations: 8 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.3104, allocations: 8 kB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3104, allocations: 0 / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.3104, allocations: 4 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3104, allocations: 4 kB / 1.357 GB, free: 3.844 MB / 1.045 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 7.797e-05/0.3105, allocations: 114.4 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.3105, allocations: 7.938 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.3107, allocations: 73.73 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3107, allocations: 4 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3107, allocations: 128 / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3107, allocations: 4 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.311, allocations: 290.4 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.311, allocations: 0 / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.311, allocations: 11.98 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.311, allocations: 7.938 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.311, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.311, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.311, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.3112, allocations: 192.3 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.855e-05/0.3113, allocations: 4 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3113, allocations: 4 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.3113, allocations: 0 / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.3114, allocations: 7.984 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3114, allocations: 0 / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.701e-05/0.3114, allocations: 87.34 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3114, allocations: 0 / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002303/0.3116, allocations: 15.94 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0005973/0.3122, allocations: 0.7326 MB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.934e-05/0.3123, allocations: 39.98 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3123, allocations: 0 / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.634e-05/0.3124, allocations: 16 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.3126, allocations: 11.92 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3139, allocations: 1.324 MB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3142, allocations: 0.6807 MB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.3142, allocations: 8.047 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3143, allocations: 11.53 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3143, allocations: 3.938 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.3433, allocations: 1.739 MB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.948/10.29, allocations: 1.172 kB / 1.362 GB, free: 14.41 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.31280497298576] Failed to read output from testmodel.py, exit status != 0: 10.401393167907372 10.415007655 10.104259492 Calling exit ...