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.0009068/0.0009068, 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.0008649/0.0008649, allocations: 177.9 kB / 23.21 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.9213/0.9213, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.632/1.632, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.812e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001377/0.001395, allocations: 1.306 MB / 0.953 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006483/0.002043, allocations: 0.5492 MB / 0.9536 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.002066, allocations: 4 kB / 0.9536 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.002082, allocations: 0 / 0.9536 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.002113, allocations: 3.938 kB / 0.9536 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.002508, allocations: 151.2 kB / 0.9537 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.002562, allocations: 27.86 kB / 0.9537 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.002602, allocations: 7.922 kB / 0.9537 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.002637, allocations: 23.97 kB / 0.9538 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.991e-05/0.002687, allocations: 7.984 kB / 0.9538 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.0027, allocations: 4 kB / 0.9538 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.002956, allocations: 267.4 kB / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.00297, allocations: 3.984 kB / 0.954 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.00299, allocations: 19.92 kB / 0.954 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.003174, allocations: 155.5 kB / 0.9542 GB, free: 448 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.003176, allocations: 4 kB / 0.9542 GB, free: 444 kB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003177, allocations: 3.938 kB / 0.9542 GB, free: 440 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.003181, allocations: 0 / 0.9542 GB, free: 440 kB / 0.9011 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.0003216/0.003503, allocations: 300 kB / 0.9545 GB, free: 108 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.003535, allocations: 8.031 kB / 0.9545 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.003565, allocations: 4.938 kB / 0.9545 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.542e-05/0.003651, allocations: 113.7 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.003662, allocations: 8.312 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.003682, allocations: 4.375 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.003794, allocations: 101.6 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.003805, allocations: 192 / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.003815, allocations: 4.375 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.00382, allocations: 4.375 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.00386, allocations: 23.86 kB / 0.9548 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.003972, allocations: 109.3 kB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.016e-05/0.004052, allocations: 54.56 kB / 0.9549 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.004083, allocations: 32.84 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.004105, allocations: 4 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.004123, allocations: 30.56 kB / 0.955 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 6.22e-07/0.004124, allocations: 0 / 0.955 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0007285/0.004853, allocations: 455.7 kB / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.00488, allocations: 59.34 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.636e-05/0.004926, allocations: 101.9 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.004937, allocations: 25.7 kB / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.095e-05/0.004958, allocations: 80.14 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.004988, allocations: 39.69 kB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.005017, allocations: 21.72 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.005083, allocations: 322.8 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.005111, allocations: 19.98 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.005136, allocations: 21.62 kB / 0.9561 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.559e-05/0.005202, allocations: 61.97 kB / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.005203, allocations: 0 / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.39e-05/0.005297, allocations: 105.7 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.005306, allocations: 11.94 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.00531, allocations: 0 / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.005325, allocations: 3.938 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.005392, allocations: 23.98 kB / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.005396, allocations: 96 / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.005408, allocations: 7.938 kB / 0.9563 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.005414, allocations: 4 kB / 0.9563 GB, free: 14.07 MB / 0.9167 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 5.072e-05/0.005465, allocations: 113.8 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-06/0.00547, allocations: 0 / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.005593, allocations: 113.7 kB / 0.9565 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.005596, allocations: 7.938 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.005599, allocations: 0 / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005602, allocations: 0 / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.005853, allocations: 298.1 kB / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005854, allocations: 0 / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.005912, allocations: 20 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.005914, allocations: 3.938 kB / 0.9568 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.005921, allocations: 4 kB / 0.9568 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.005922, allocations: 0 / 0.9568 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005922, allocations: 0 / 0.9568 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.006317, allocations: 220.5 kB / 0.957 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-06/0.006321, allocations: 4.062 kB / 0.957 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.006332, allocations: 3.938 kB / 0.957 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.752e-05/0.006379, allocations: 11.97 kB / 0.957 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.006394, allocations: 7.984 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.006398, allocations: 0 / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.002e-05/0.006418, allocations: 83.27 kB / 0.9571 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006418, allocations: 0 / 0.9571 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000164/0.006582, allocations: 35.88 kB / 0.9572 GB, free: 13.09 MB / 0.9167 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.0001316/0.006713, allocations: 139.1 kB / 0.9573 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.498e-05/0.006808, allocations: 55.91 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.00681, allocations: 4 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.006839, allocations: 31.92 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.00698, allocations: 11.12 kB / 0.9574 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.007328, allocations: 258.9 kB / 0.9576 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.1e-05/0.007369, allocations: 67.34 kB / 0.9577 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.007395, allocations: 20.5 kB / 0.9577 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of SimCode: time 3.61e-07/0.007395, allocations: 0 / 0.9577 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of Templates: time 0.001754/0.009149, allocations: 1.176 MB / 0.9589 GB, free: 11.29 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.455738158896565] Failed to read output from testmodel.py, exit status != 0: 0.013385504484176636 0.020815052 0.016145654000000002 Calling exit ...