Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008924/0.0008924, allocations: 76.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.0009586/0.0009586, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8813/0.8813, allocations: 177.1 MB / 203.5 MB, free: 5.422 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.69/1.69, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.145e-05, allocations: 9.453 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001877/0.001909, allocations: 1.302 MB / 0.9835 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.002658, allocations: 0.5409 MB / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.002686, allocations: 3.938 kB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.002707, allocations: 11.92 kB / 0.984 GB, free: 220 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.281e-05/0.002739, allocations: 0 / 0.984 GB, free: 220 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.003181, allocations: 153.7 kB / 0.9842 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.396e-05/0.003245, allocations: 27.91 kB / 0.9842 GB, free: 40 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.003291, allocations: 4 kB / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.014e-05/0.003331, allocations: 19.92 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.003386, allocations: 7.984 kB / 0.9842 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.0034, allocations: 0 / 0.9842 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.00369, allocations: 283.3 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.003707, allocations: 4 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.003735, allocations: 8 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.003957, allocations: 167.5 kB / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003959, allocations: 0 / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.00396, allocations: 0 / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.003966, allocations: 0 / 0.9847 GB, free: 15.55 MB / 0.948 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.000389/0.004355, allocations: 290 kB / 0.9849 GB, free: 15.24 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.004392, allocations: 12.03 kB / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.004427, allocations: 0.9375 kB / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.004525, allocations: 117.7 kB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.004537, allocations: 12.25 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.004562, allocations: 4.375 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.004703, allocations: 105.6 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.004714, allocations: 192 / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.004726, allocations: 384 / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.004731, allocations: 384 / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/0.004778, allocations: 23.92 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.004914, allocations: 109.3 kB / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.583e-05/0.00501, allocations: 62.56 kB / 0.9854 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.005043, allocations: 21.02 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.005064, allocations: 7.984 kB / 0.9854 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.00509, allocations: 46.48 kB / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 6.42e-07/0.00509, allocations: 0 / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0008289/0.005919, allocations: 447.6 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.005951, allocations: 55.41 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.006007, allocations: 93.84 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.006019, allocations: 33.83 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.006044, allocations: 84.14 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.006079, allocations: 39.67 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.006112, allocations: 25.72 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.006193, allocations: 322.8 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.006223, allocations: 20 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.006252, allocations: 23.98 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.968e-05/0.006321, allocations: 60.17 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006323, allocations: 0 / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.876e-05/0.006421, allocations: 97.62 kB / 0.9867 GB, free: 13.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.006434, allocations: 8 kB / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.006439, allocations: 4 kB / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.006452, allocations: 3.938 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.006528, allocations: 19.98 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006533, allocations: 4 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.006546, allocations: 0 / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.006553, allocations: 11.94 kB / 0.9867 GB, free: 13.2 MB / 0.948 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.18e-05/0.006614, allocations: 109.8 kB / 0.9868 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.006626, allocations: 7.953 kB / 0.9868 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.006761, allocations: 105.7 kB / 0.9869 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.006764, allocations: 4.031 kB / 0.9869 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.006767, allocations: 7.938 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.006771, allocations: 0 / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.007056, allocations: 290.1 kB / 0.9872 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007057, allocations: 0 / 0.9872 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.007125, allocations: 23.98 kB / 0.9873 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007128, allocations: 3.938 kB / 0.9873 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.007136, allocations: 4 kB / 0.9873 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.007138, allocations: 4 kB / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007139, allocations: 0 / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.00731, allocations: 215.7 kB / 0.9875 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.007317, allocations: 8.031 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.00733, allocations: 12 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.007379, allocations: 4 kB / 0.9875 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.007395, allocations: 3.984 kB / 0.9875 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.007401, allocations: 11.94 kB / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.007427, allocations: 79.28 kB / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007427, allocations: 0 / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001921/0.007619, allocations: 39.86 kB / 0.9876 GB, free: 12.22 MB / 0.948 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.0001621/0.007781, allocations: 127.1 kB / 0.9877 GB, free: 12.08 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.007899, allocations: 60 kB / 0.9878 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.007901, allocations: 8 kB / 0.9878 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.059e-05/0.007931, allocations: 31.94 kB / 0.9878 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.008085, allocations: 3.984 kB / 0.9878 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.008474, allocations: 274.1 kB / 0.9881 GB, free: 11.68 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.238e-05/0.008526, allocations: 67.34 kB / 0.9882 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.00855, allocations: 12.5 kB / 0.9882 GB, free: 11.58 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.008551, allocations: 0 / 0.9882 GB, free: 11.58 MB / 0.948 GB Notification: Performance of Templates: time 0.00206/0.01061, allocations: 1.166 MB / 0.9893 GB, free: 10.42 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.711633504368365] Failed to read output from testmodel.py, exit status != 0: 0.015845811925828457 0.024632829000000002 0.018927954 Calling exit ...