Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001143/0.001143, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001144/0.001144, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8735/0.8735, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.739/1.739, allocations: 389 MB / 0.6338 GB, free: 12.71 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.162e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001419/0.001441, allocations: 1.289 MB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006698/0.002111, allocations: 0.5416 MB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.002135, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.002154, allocations: 7.938 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/0.00219, allocations: 4 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.002585, allocations: 149.9 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.198e-05/0.002647, allocations: 23.91 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.002686, allocations: 4 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.002738, allocations: 11.92 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.002783, allocations: 4 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.002797, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.003063, allocations: 271.4 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.003078, allocations: 7.984 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.003095, allocations: 8 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.003502, allocations: 159.4 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003504, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003505, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003509, allocations: 0 / 1.003 GB, free: 10.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003446/0.003853, allocations: 284.4 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.00389, allocations: 12.75 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.003922, allocations: 4.891 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.946e-05/0.004002, allocations: 105.8 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.004013, allocations: 8.375 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.004035, allocations: 384 / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.004156, allocations: 71.89 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.004165, allocations: 4.125 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.004174, allocations: 384 / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.004178, allocations: 384 / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.481e-05/0.004213, allocations: 15.92 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.004321, allocations: 101.3 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.00448, allocations: 42.61 kB / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.004506, allocations: 20.94 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.004525, allocations: 4 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.004544, allocations: 38.5 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.004545, allocations: 0 / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0004572/0.005002, allocations: 237.1 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.005032, allocations: 63.33 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.312e-05/0.005075, allocations: 94.19 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.005086, allocations: 29.7 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/0.005106, allocations: 80.14 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.005131, allocations: 19.84 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.005155, allocations: 21.66 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.005226, allocations: 318.8 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.005246, allocations: 15.98 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.005259, allocations: 8 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.005301, allocations: 28.86 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005303, allocations: 8.062 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.017e-05/0.005363, allocations: 61.62 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.005374, allocations: 8 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.005382, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.005395, allocations: 192 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.632e-05/0.005431, allocations: 15.98 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.005437, allocations: 3.938 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-06/0.005447, allocations: 8 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.005452, allocations: 3.984 kB / 1.005 GB, free: 8.633 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 (7): * Single equations (assignments): 7 * 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.893e-05/0.005501, allocations: 113.8 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-06/0.005507, allocations: 3.953 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.99e-05/0.005607, allocations: 73.73 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.005608, allocations: 4 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.005613, allocations: 3.938 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005615, allocations: 0 / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.005815, allocations: 263 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.005816, allocations: 0 / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.005859, allocations: 20.02 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.00586, allocations: 0 / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.005866, allocations: 3.938 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.005867, allocations: 0 / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.005869, allocations: 4 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.005989, allocations: 172.3 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.006004, allocations: 11.97 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.006014, allocations: 4.125 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/0.006058, allocations: 8 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.006072, allocations: 7.984 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.006076, allocations: 8.062 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.056e-05/0.006096, allocations: 75.28 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006096, allocations: 4 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001519/0.006248, allocations: 19.88 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001195/0.006368, allocations: 119.2 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.8e-05/0.006446, allocations: 40.16 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.006448, allocations: 0 / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.006463, allocations: 15.98 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.006611, allocations: 4 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.006906, allocations: 203.3 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.006947, allocations: 63.34 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.006964, allocations: 12.5 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.006964, allocations: 0 / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of Templates: time 0.001606/0.00857, allocations: 0.814 MB / 1.007 GB, free: 6.449 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 6.430085937492549] Failed to read output from testmodel.py, exit status != 0: 0.012697982601821423 0.019847553 0.014905712000000002 Calling exit ...