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.0008333/0.0008333, allocations: 80.53 kB / 19.93 MB, free: 4.605 MB / 18.57 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.0008109/0.0008109, allocations: 181.2 kB / 23.22 MB, free: 1.316 MB / 18.57 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 0.9022/0.9022, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 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 1.794/1.794, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.027e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001437/0.001457, allocations: 1.306 MB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006646/0.002122, allocations: 0.5456 MB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.002145, allocations: 3.938 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.002165, allocations: 3.938 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.313e-05/0.002198, allocations: 7.938 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.002609, allocations: 150.4 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.002667, allocations: 27.86 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.00271, allocations: 7.922 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/0.002748, allocations: 19.97 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.002802, allocations: 12 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.002815, allocations: 0 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.003068, allocations: 271.4 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.003083, allocations: 11.98 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.003101, allocations: 11.92 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.003295, allocations: 163.5 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003296, allocations: 0 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003297, allocations: 0 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003301, allocations: 0 / 1.003 GB, free: 10.45 MB / 0.9636 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.0003219/0.003623, allocations: 290 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.003657, allocations: 8.75 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.003693, allocations: 8.891 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.303e-05/0.003766, allocations: 113.7 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.003777, allocations: 8.359 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.003797, allocations: 4.375 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.003912, allocations: 101.7 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.003922, allocations: 192 / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.003933, allocations: 384 / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.003938, allocations: 384 / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.003981, allocations: 23.92 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.004096, allocations: 113.3 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.517e-05/0.004181, allocations: 62.48 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.00421, allocations: 24.86 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.00423, allocations: 4 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.004251, allocations: 34.55 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 6.22e-07/0.004252, allocations: 4 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0007359/0.004988, allocations: 451.6 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.005015, allocations: 51.41 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.57e-05/0.005061, allocations: 97.84 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.005071, allocations: 29.7 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.26e-05/0.005094, allocations: 88.27 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.005126, allocations: 39.64 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.005156, allocations: 25.72 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.005321, allocations: 318.8 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.00535, allocations: 24 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.005378, allocations: 27.98 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.882e-05/0.005447, allocations: 60.72 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.005448, allocations: 0 / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.192e-05/0.00554, allocations: 91.69 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.00555, allocations: 4 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005554, allocations: 4 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.005566, allocations: 7.938 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.005633, allocations: 19.98 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.005637, allocations: 3.938 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.005652, allocations: 8 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.005658, allocations: 0 / 1.005 GB, free: 8.105 MB / 0.9636 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 4.957e-05/0.005707, allocations: 113.8 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.005716, allocations: 7.953 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.005837, allocations: 97.86 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.00584, allocations: 7.938 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.005844, allocations: 3.938 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005846, allocations: 4 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.006094, allocations: 290.2 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006094, allocations: 0 / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.006156, allocations: 23.98 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.006159, allocations: 3.938 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.006166, allocations: 4 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006168, allocations: 3.984 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.006169, allocations: 3.938 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.006334, allocations: 219.4 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-06/0.00634, allocations: 8.078 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.006353, allocations: 15.94 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.259e-05/0.006406, allocations: 0 / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.00642, allocations: 7.984 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.006427, allocations: 8 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.117e-05/0.006448, allocations: 75.28 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006448, allocations: 0 / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001669/0.006615, allocations: 43.86 kB / 1.006 GB, free: 7.109 MB / 0.9636 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.0001325/0.006747, allocations: 131 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.006848, allocations: 60 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.006849, allocations: 4 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.006879, allocations: 35.92 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.007031, allocations: 13.44 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.007386, allocations: 258.2 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.007428, allocations: 67.34 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.007451, allocations: 16.5 kB / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.007452, allocations: 0 / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of Templates: time 0.001795/0.009247, allocations: 1.17 MB / 1.008 GB, free: 5.316 MB / 0.9636 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: 6.532201837748289] Failed to read output from testmodel.py, exit status != 0: 0.013360880315303802 0.020658688 0.01588304 Calling exit ...