Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001451/0.001451, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001609/0.001609, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.312/1.312, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.92/2.92, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [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.001957/0.001957, allocations: 64.39 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2879, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002428/0.2903, allocations: 1.504 MB / 1.356 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.2913, allocations: 0.6344 MB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.2914, allocations: 4 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.2914, allocations: 3.938 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.2914, allocations: 3.938 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.2919, allocations: 167.3 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.097e-05/0.292, allocations: 47.84 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.2921, allocations: 4 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.2921, allocations: 27.91 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.2922, allocations: 27.86 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.2922, allocations: 4 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.2927, allocations: 351.3 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.2927, allocations: 4 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.2927, allocations: 31.84 kB / 1.357 GB, free: 5.145 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.293, allocations: 179.3 kB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.293, allocations: 3.938 kB / 1.357 GB, free: 4.965 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.293, allocations: 0 / 1.357 GB, free: 4.965 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.293, allocations: 0 / 1.357 GB, free: 4.965 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005297/0.2935, allocations: 329.8 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2936, allocations: 12.03 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.2936, allocations: 4.938 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.2937, allocations: 110.5 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.2937, allocations: 12.38 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.2937, allocations: 4.375 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.294, allocations: 82.14 kB / 1.358 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.294, allocations: 4.188 kB / 1.358 GB, free: 4.355 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.294, allocations: 7.938 kB / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.294, allocations: 0 / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.2942, allocations: 51.89 kB / 1.358 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.2947, allocations: 291.8 kB / 1.358 GB, free: 3.969 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.295, allocations: 82.47 kB / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2951, allocations: 32.83 kB / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.2951, allocations: 4.141 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2952, allocations: 34.56 kB / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2952, allocations: 0 / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001459/0.2966, allocations: 0.4956 MB / 1.359 GB, free: 3.246 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.2966, allocations: 51.41 kB / 1.359 GB, free: 3.184 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.2967, allocations: 109.7 kB / 1.359 GB, free: 3.066 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2967, allocations: 29.7 kB / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.2968, allocations: 88.08 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.2968, allocations: 47.64 kB / 1.359 GB, free: 2.895 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.2969, allocations: 25.72 kB / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.297, allocations: 318.8 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2971, allocations: 35.97 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.2972, allocations: 34.23 kB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.2975, allocations: 64.83 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2975, allocations: 0 / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003018/0.2978, allocations: 123.8 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2978, allocations: 5.562 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.2978, allocations: 192 / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2978, allocations: 0 / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.2979, allocations: 27.92 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2979, allocations: 7.984 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.298, allocations: 11.92 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.298, allocations: 4 kB / 1.359 GB, free: 2.23 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 (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 8.833e-05/0.2981, allocations: 125.7 kB / 1.36 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.2981, allocations: 7.953 kB / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.2985, allocations: 137.5 kB / 1.36 GB, free: 1.949 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2985, allocations: 4 kB / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2985, allocations: 0 / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2985, allocations: 3.938 kB / 1.36 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.299, allocations: 345.6 kB / 1.36 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.299, allocations: 8 kB / 1.36 GB, free: 1.547 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.2992, allocations: 31.92 kB / 1.36 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2992, allocations: 0 / 1.36 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2992, allocations: 3.938 kB / 1.36 GB, free: 1.512 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2992, allocations: 0 / 1.36 GB, free: 1.512 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2992, allocations: 4 kB / 1.36 GB, free: 1.508 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.2997, allocations: 255.7 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.2997, allocations: 3.953 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.2997, allocations: 3.938 kB / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.2998, allocations: 16.02 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.2998, allocations: 7.922 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.2998, allocations: 4 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.2999, allocations: 87.22 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.2999, allocations: 0 / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000249/0.3001, allocations: 35.86 kB / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.000175/0.3003, allocations: 135.2 kB / 1.361 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.3006, allocations: 79.88 kB / 1.361 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3006, allocations: 0 / 1.361 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.3007, allocations: 39.98 kB / 1.361 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.301, allocations: 11.98 kB / 1.361 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.3016, allocations: 344.3 kB / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3019, allocations: 0.6885 MB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.3019, allocations: 19.44 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3019, allocations: 0 / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of Templates: time 0.002893/0.3048, allocations: 1.324 MB / 1.363 GB, free: 14.4 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 9.849413754011039] Failed to read output from testmodel.py, exit status != 0: 0.3121060080011375 0.325483319 0.029724070000000002 Calling exit ...