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.001447/0.001447, allocations: 110.2 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.001602/0.001602, allocations: 214.5 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.903/2.903, allocations: 0.505 GB / 0.8108 GB, free: 22.09 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001878/0.001878, allocations: 67.08 kB / 1.178 GB, free: 16.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2971, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002293/0.2994, allocations: 1.314 MB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000983/0.3004, allocations: 0.6188 MB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.3004, allocations: 0 / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.3004, allocations: 3.938 kB / 1.356 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.3005, allocations: 3.984 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.301, allocations: 151.4 kB / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.301, allocations: 27.86 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.3011, allocations: 11.94 kB / 1.356 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.3011, allocations: 11.98 kB / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.3011, allocations: 15.92 kB / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.3012, allocations: 4 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.3016, allocations: 343.3 kB / 1.357 GB, free: 5.484 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.3017, allocations: 8 kB / 1.357 GB, free: 5.477 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.3017, allocations: 11.94 kB / 1.357 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.3019, allocations: 151.5 kB / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3019, allocations: 4 kB / 1.357 GB, free: 5.312 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3019, allocations: 0 / 1.357 GB, free: 5.312 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3019, allocations: 0 / 1.357 GB, free: 5.312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003839/0.3023, allocations: 297.9 kB / 1.357 GB, free: 4.988 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.3023, allocations: 11.97 kB / 1.357 GB, free: 4.977 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.3024, allocations: 4.938 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.3025, allocations: 102.5 kB / 1.357 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3025, allocations: 8.312 kB / 1.357 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.3025, allocations: 8.328 kB / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3026, allocations: 54.23 kB / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3026, allocations: 192 / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3026, allocations: 7.938 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3026, allocations: 0 / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.664e-05/0.3027, allocations: 23.97 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.3029, allocations: 140.6 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.303, allocations: 54.56 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.303, allocations: 33.08 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.303, allocations: 3.984 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3031, allocations: 30.56 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.3031, allocations: 0 / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0009933/0.3041, allocations: 451.6 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.3041, allocations: 55.41 kB / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.3042, allocations: 97.8 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3042, allocations: 29.7 kB / 1.358 GB, free: 3.719 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.3042, allocations: 80.14 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.3043, allocations: 47.61 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.3043, allocations: 29.7 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3044, allocations: 319 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.3045, allocations: 23.98 kB / 1.359 GB, free: 3.211 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.3045, allocations: 19.98 kB / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.722e-05/0.3046, allocations: 55.11 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3046, allocations: 0 / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001457/0.3048, allocations: 97.58 kB / 1.359 GB, free: 3.035 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3048, allocations: 11.98 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.3048, allocations: 0 / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3048, allocations: 0 / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/0.3049, allocations: 27.94 kB / 1.359 GB, free: 2.996 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3049, allocations: 8 kB / 1.359 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.201e-05/0.3049, allocations: 0 / 1.359 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3049, allocations: 7.984 kB / 1.359 GB, free: 2.98 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.479e-05/0.305, allocations: 114.4 kB / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.305, allocations: 7.938 kB / 1.359 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.3052, allocations: 113.6 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3052, allocations: 4 kB / 1.359 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.3052, allocations: 0 / 1.359 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3052, allocations: 3.984 kB / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.3056, allocations: 321.6 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3056, allocations: 0 / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3057, allocations: 23.92 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3057, allocations: 0 / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3057, allocations: 4 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3057, allocations: 4.094 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3057, allocations: 3.938 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.306, allocations: 219.4 kB / 1.36 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-06/0.306, allocations: 4.031 kB / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.306, allocations: 0 / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/0.3061, allocations: 4 kB / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.3061, allocations: 11.92 kB / 1.36 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3061, allocations: 4 kB / 1.36 GB, free: 2.074 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.3061, allocations: 83.22 kB / 1.36 GB, free: 1.992 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3061, allocations: 0 / 1.36 GB, free: 1.992 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002539/0.3064, allocations: 39.86 kB / 1.36 GB, free: 1.953 MB / 1.045 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.0001849/0.3066, allocations: 131.2 kB / 1.36 GB, free: 1.816 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.3067, allocations: 66.09 kB / 1.36 GB, free: 1.754 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3067, allocations: 0 / 1.36 GB, free: 1.754 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.677e-05/0.3068, allocations: 31.98 kB / 1.36 GB, free: 1.723 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.307, allocations: 4 kB / 1.36 GB, free: 1.719 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.3075, allocations: 315 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3078, allocations: 0.6807 MB / 1.361 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.3078, allocations: 19.44 kB / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3078, allocations: 0 / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of Templates: time 0.002725/0.3105, allocations: 1.127 MB / 1.362 GB, free: 15.53 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 9.90414207300637] Failed to read output from testmodel.py, exit status != 0: 0.3177482050086837 0.33153787300000004 0.026765222 Calling exit ...