Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0008173/0.0008173, allocations: 72.5 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.0007783/0.0007783, allocations: 178.2 kB / 23.22 MB, free: 1.344 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.9012/0.9012, allocations: 177.1 MB / 203.5 MB, free: 5.699 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.748/1.748, allocations: 389 MB / 0.6338 GB, free: 12.7 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 4 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.67e-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_m_flow_DerivativeCheck2): time 0.002097/0.002133, allocations: 1.479 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.002892, allocations: 0.565 MB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.002926, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.002956, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.002998, allocations: 15.81 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.003455, allocations: 159.2 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.313e-05/0.003538, allocations: 55.78 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.00359, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.212e-05/0.003672, allocations: 31.95 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.003709, allocations: 23.92 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.003728, allocations: 7.984 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.004004, allocations: 271.4 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.004024, allocations: 15.92 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.004051, allocations: 15.98 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.004291, allocations: 191.4 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004293, allocations: 0 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004294, allocations: 0 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.004299, allocations: 0 / 1.004 GB, free: 10.16 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004797/0.004778, allocations: 328.1 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.004817, allocations: 12.03 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.004857, allocations: 4.891 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.404e-05/0.004941, allocations: 117.7 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.004967, allocations: 8.375 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.004989, allocations: 4.375 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.005199, allocations: 125.6 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.00521, allocations: 192 / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.005223, allocations: 8.375 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005229, allocations: 384 / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.005353, allocations: 55.89 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.005932, allocations: 252.4 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.006122, allocations: 78.53 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.006179, allocations: 32.78 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.006202, allocations: 3.938 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.006228, allocations: 46.5 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.00623, allocations: 0 / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.001009/0.007239, allocations: 0.5074 MB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.007269, allocations: 51.41 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.718e-05/0.007326, allocations: 101.8 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.00734, allocations: 33.7 kB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.007376, allocations: 91.97 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.007406, allocations: 39.69 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.007442, allocations: 33.7 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.007516, allocations: 314.8 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.007589, allocations: 35.97 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.00765, allocations: 31.23 kB / 1.006 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.007815, allocations: 76.95 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.007816, allocations: 0 / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001755/0.007991, allocations: 121.5 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.008005, allocations: 7.984 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.008012, allocations: 0 / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.008028, allocations: 0 / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.00812, allocations: 23.98 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.008126, allocations: 4 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.008156, allocations: 8.094 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.008163, allocations: 7.938 kB / 1.006 GB, free: 7.402 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 6.501e-05/0.008228, allocations: 125.7 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.008245, allocations: 7.953 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.008462, allocations: 121.7 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.008465, allocations: 4 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.008471, allocations: 0 / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.008476, allocations: 3.984 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.008803, allocations: 326.3 kB / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.008805, allocations: 0 / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.147e-05/0.008886, allocations: 27.97 kB / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.008889, allocations: 0 / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.008897, allocations: 4 kB / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008899, allocations: 0 / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008901, allocations: 0 / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.009185, allocations: 259.3 kB / 1.007 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.009192, allocations: 8.094 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.009205, allocations: 0 / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.722e-05/0.009262, allocations: 11.98 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.00928, allocations: 7.984 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.009286, allocations: 4 kB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.623e-05/0.009313, allocations: 83.28 kB / 1.007 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009313, allocations: 0 / 1.007 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001909/0.009503, allocations: 35.81 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0001718/0.009675, allocations: 131.1 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.009863, allocations: 87.83 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.009865, allocations: 0 / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.009934, allocations: 43.91 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.01019, allocations: 15.78 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.01065, allocations: 291.3 kB / 1.008 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.327e-05/0.01071, allocations: 87.2 kB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.01074, allocations: 16.48 kB / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of SimCode: time 1.112e-06/0.01074, allocations: 0 / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of Templates: time 0.002274/0.01301, allocations: 1.357 MB / 1.009 GB, free: 4.254 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 6.459885058924556] Failed to read output from testmodel.py, exit status != 0: 0.019276825711131096 0.031166322000000003 0.025207950000000003 Calling exit ...