Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.|err_dp|err_der_dp",fileNamePrefix="Buildings_10_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.|err_dp|err_der_dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.88 kB / 1.057 GB, free: 1.98 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3115, allocations: 160.7 MB / 1.214 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00267/0.3142, allocations: 1.471 MB / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3153, allocations: 0.6312 MB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.3154, allocations: 4 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.3154, allocations: 3.984 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.945e-05/0.3154, allocations: 7.875 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.316, allocations: 163.4 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.683e-05/0.3161, allocations: 47.84 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.3161, allocations: 4 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.38e-05/0.3162, allocations: 27.91 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.3163, allocations: 19.92 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3163, allocations: 4 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.3168, allocations: 351.3 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.3168, allocations: 11.92 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.3169, allocations: 23.86 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.3172, allocations: 175.4 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3172, allocations: 11.88 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3172, allocations: 4 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3172, allocations: 0 / 1.217 GB, free: 13.98 MB / 0.9669 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.0006605/0.3179, allocations: 406.9 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3179, allocations: 11.98 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.3179, allocations: 4.938 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.3181, allocations: 176.2 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.3181, allocations: 4.375 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.3181, allocations: 12.38 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.3184, allocations: 78.22 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3184, allocations: 8.172 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3184, allocations: 3.938 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3184, allocations: 0 / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.3187, allocations: 50.72 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.3192, allocations: 328.7 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.3195, allocations: 74.53 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3197, allocations: 32.78 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.3197, allocations: 0 / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3197, allocations: 38.56 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.3197, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001719/0.3214, allocations: 0.646 MB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.3215, allocations: 51.41 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.3216, allocations: 105.8 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3216, allocations: 29.7 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.3216, allocations: 88.09 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.3217, allocations: 47.56 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.3217, allocations: 33.7 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3219, allocations: 318.8 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.322, allocations: 35.97 kB / 1.219 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.3222, allocations: 27.98 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.3224, allocations: 80.7 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3224, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003239/0.3227, allocations: 113.7 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3228, allocations: 12 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3228, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3228, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.3229, allocations: 31.97 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3229, allocations: 0 / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.323, allocations: 7.938 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.323, allocations: 4.312 kB / 1.22 GB, free: 10.85 MB / 0.9669 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 9.258e-05/0.3231, allocations: 117.8 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3231, allocations: 15.98 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.3235, allocations: 125.7 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3235, allocations: 0 / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3235, allocations: 0 / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3235, allocations: 7.938 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005968/0.3241, allocations: 386.4 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3241, allocations: 0 / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3243, allocations: 27.98 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3243, allocations: 4 kB / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3243, allocations: 3.938 kB / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3243, allocations: 0 / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3243, allocations: 0 / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.3249, allocations: 251.2 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.3249, allocations: 93.14 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.325, allocations: 7.938 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.3251, allocations: 4 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.3251, allocations: 8.172 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3251, allocations: 4 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.056e-05/0.3252, allocations: 87.27 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3252, allocations: 0 / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002754/0.3254, allocations: 39.86 kB / 1.221 GB, free: 9.582 MB / 0.9669 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.0002225/0.3257, allocations: 139 kB / 1.221 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.326, allocations: 83.88 kB / 1.221 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.326, allocations: 0 / 1.221 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3262, allocations: 39.92 kB / 1.221 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.3265, allocations: 13.39 kB / 1.221 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.3272, allocations: 351 kB / 1.221 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3275, allocations: 0.6923 MB / 1.222 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.3276, allocations: 19.44 kB / 1.222 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3276, allocations: 0 / 1.222 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of Templates: time 0.003313/0.3309, allocations: 1.326 MB / 1.223 GB, free: 6.871 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.18114847689867] Failed to read output from testmodel.py, exit status != 0: 0.3389569818973541 0.35165095900000004 0.031702964 Calling exit ...