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.001449/0.001449, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001901/0.001901, allocations: 211.9 kB / 22.99 MB, free: 4.945 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.273/3.273, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] 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.002151/0.002151, allocations: 75.73 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3459, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002482/0.3484, allocations: 1.308 MB / 1.366 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3494, allocations: 0.545 MB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.3495, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.3495, allocations: 3.938 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.3495, allocations: 7.938 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.3501, allocations: 158.1 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.834e-05/0.3502, allocations: 27.92 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.3502, allocations: 0 / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.69e-05/0.3503, allocations: 11.98 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.3503, allocations: 15.92 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3503, allocations: 4 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.3508, allocations: 267.5 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.3508, allocations: 11.94 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.3508, allocations: 8 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.3511, allocations: 147.5 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3511, allocations: 0 / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3511, allocations: 0 / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3511, allocations: 0 / 1.367 GB, free: 11.07 MB / 1.061 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.0004429/0.3515, allocations: 297.9 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3516, allocations: 8.031 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.3516, allocations: 8.891 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.3517, allocations: 102.5 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3517, allocations: 8.375 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.3517, allocations: 4.375 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3519, allocations: 101.6 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3519, allocations: 192 / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.3519, allocations: 19.92 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3519, allocations: 0 / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.352, allocations: 12 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.3521, allocations: 117.2 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3523, allocations: 54.56 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.3523, allocations: 32.78 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3523, allocations: 8 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3524, allocations: 30.56 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3524, allocations: 0 / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001125/0.3535, allocations: 451.8 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3535, allocations: 51.41 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.556e-05/0.3536, allocations: 97.86 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3536, allocations: 25.7 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.3537, allocations: 84.27 kB / 1.369 GB, free: 9.379 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.3537, allocations: 47.61 kB / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.3538, allocations: 25.7 kB / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3539, allocations: 318.8 kB / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.706e-05/0.354, allocations: 23.98 kB / 1.369 GB, free: 8.957 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.354, allocations: 19.98 kB / 1.369 GB, free: 8.938 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3541, allocations: 56.8 kB / 1.369 GB, free: 8.879 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3541, allocations: 0 / 1.369 GB, free: 8.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001514/0.3543, allocations: 100.1 kB / 1.369 GB, free: 8.777 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3543, allocations: 11.92 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3543, allocations: 0 / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3543, allocations: 4 kB / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3544, allocations: 24 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3544, allocations: 0 / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.3544, allocations: 0 / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3544, allocations: 7.984 kB / 1.369 GB, free: 8.73 MB / 1.061 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 0.0001376/0.3546, allocations: 118.9 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.3546, allocations: 15.83 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.3548, allocations: 101.8 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3548, allocations: 0 / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3548, allocations: 0 / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3548, allocations: 11.98 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.3553, allocations: 294.1 kB / 1.37 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3553, allocations: 0 / 1.37 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3554, allocations: 23.98 kB / 1.37 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3554, allocations: 0 / 1.37 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3554, allocations: 4 kB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3554, allocations: 80 / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3554, allocations: 3.984 kB / 1.37 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3557, allocations: 219.7 kB / 1.37 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.3557, allocations: 3.984 kB / 1.37 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3557, allocations: 7.969 kB / 1.37 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.3558, allocations: 8.062 kB / 1.37 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.3558, allocations: 7.984 kB / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.3558, allocations: 4 kB / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.888e-05/0.3558, allocations: 75.28 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3558, allocations: 0 / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002759/0.3561, allocations: 35.88 kB / 1.37 GB, free: 7.734 MB / 1.061 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.0002438/0.3564, allocations: 135.1 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.3565, allocations: 59.97 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3565, allocations: 4.094 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.098e-05/0.3566, allocations: 31.92 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.3568, allocations: 11.94 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.3573, allocations: 314.9 kB / 1.371 GB, free: 7.148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.706e-05/0.3574, allocations: 71.33 kB / 1.371 GB, free: 7.059 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.3574, allocations: 15.44 kB / 1.371 GB, free: 7.047 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.3574, allocations: 4 kB / 1.371 GB, free: 7.043 MB / 1.061 GB Notification: Performance of Templates: time 0.00293/0.3604, allocations: 1.137 MB / 1.372 GB, free: 5.914 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: 11.090431794989854] Failed to read output from testmodel.py, exit status != 0: 0.3686360800638795 0.38325153900000003 0.028932795 Calling exit ...