Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001665/0.001665, 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.001848/0.001848, allocations: 209.8 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.722/2.722, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_11_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.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_11_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.002064/0.002064, allocations: 66.56 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3473, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00269/0.35, allocations: 1.316 MB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3511, allocations: 0.6168 MB / 1.287 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.3512, allocations: 8 kB / 1.287 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.3512, allocations: 3.938 kB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.655e-05/0.3512, allocations: 0 / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.3518, allocations: 147.2 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.3519, allocations: 35.8 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.3519, allocations: 3.984 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.868e-05/0.3519, allocations: 15.98 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.352, allocations: 15.92 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.352, allocations: 4 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005496/0.3526, allocations: 343.3 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.3526, allocations: 7.984 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.3526, allocations: 15.94 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.3529, allocations: 151.5 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3529, allocations: 4 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3529, allocations: 7.875 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3529, allocations: 0 / 1.287 GB, free: 8.492 MB / 0.9825 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.0004718/0.3534, allocations: 293.9 kB / 1.288 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3534, allocations: 16.02 kB / 1.288 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.3535, allocations: 4.938 kB / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3536, allocations: 106.5 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3536, allocations: 4.375 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.3536, allocations: 4.375 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3537, allocations: 46.25 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3538, allocations: 192 / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3538, allocations: 3.938 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3538, allocations: 4 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.668e-05/0.3538, allocations: 19.92 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.3541, allocations: 148.7 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3542, allocations: 50.56 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.3542, allocations: 28.84 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.3543, allocations: 4 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3543, allocations: 30.56 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.3543, allocations: 3.984 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001179/0.3555, allocations: 451.8 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3555, allocations: 59.34 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.3556, allocations: 93.86 kB / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.3556, allocations: 29.83 kB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.3557, allocations: 84.14 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.3557, allocations: 47.62 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.3558, allocations: 25.72 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3559, allocations: 314.8 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.356, allocations: 23.98 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/0.356, allocations: 24 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.97e-05/0.3561, allocations: 56.84 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3561, allocations: 96 / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001578/0.3563, allocations: 105.5 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3563, allocations: 8 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3563, allocations: 0 / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3563, allocations: 0 / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3564, allocations: 23.98 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3564, allocations: 7.922 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.3564, allocations: 4 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.3565, allocations: 4 kB / 1.289 GB, free: 6.168 MB / 0.9825 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.0001052/0.3566, allocations: 113.8 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.3566, allocations: 11.94 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.3568, allocations: 105.7 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.3568, allocations: 4 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3568, allocations: 0 / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3568, allocations: 0 / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.3572, allocations: 321.5 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3572, allocations: 0 / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3573, allocations: 23.98 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3573, allocations: 0 / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3574, allocations: 8 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3574, allocations: 4 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3574, allocations: 0 / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.3576, allocations: 215.7 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.3576, allocations: 15.91 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3577, allocations: 0 / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.3577, allocations: 0 / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.3578, allocations: 11.98 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.3578, allocations: 8.062 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.885e-05/0.3578, allocations: 75.28 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3578, allocations: 0 / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002831/0.3581, allocations: 39.88 kB / 1.29 GB, free: 5.148 MB / 0.9825 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.0002264/0.3583, allocations: 135.1 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001605/0.3585, allocations: 63.91 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3585, allocations: 0 / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/0.3585, allocations: 36.08 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.3588, allocations: 6.344 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.3594, allocations: 310.2 kB / 1.291 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3597, allocations: 0.6962 MB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.3597, allocations: 15.44 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3597, allocations: 4 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of Templates: time 0.003216/0.363, allocations: 1.133 MB / 1.293 GB, free: 2.707 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.004813122010091] Failed to read output from testmodel.py, exit status != 0: 0.9504383169987705 0.38754153299999994 0.031157036000000003 Calling exit ...