Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000837/0.000837, 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.001288/0.001288, allocations: 177.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.8797/0.8797, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.622/1.622, allocations: 359 MB / 0.6044 GB, free: 11.1 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_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.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9517 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.056e-05, allocations: 2.281 kB / 0.9517 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001608/0.001628, allocations: 1.47 MB / 0.9532 GB, free: 388 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007234/0.002352, allocations: 0.5765 MB / 0.9537 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.002384, allocations: 0 / 0.9537 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.002415, allocations: 3.938 kB / 0.9537 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.00246, allocations: 7.922 kB / 0.9538 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.002885, allocations: 159.2 kB / 0.9539 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.00296, allocations: 51.84 kB / 0.954 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.003003, allocations: 11.92 kB / 0.954 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.003073, allocations: 31.91 kB / 0.954 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.685e-05/0.00311, allocations: 19.97 kB / 0.954 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.003127, allocations: 11.88 kB / 0.954 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.003388, allocations: 271.4 kB / 0.9543 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.00341, allocations: 19.91 kB / 0.9543 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.003432, allocations: 12 kB / 0.9543 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.003648, allocations: 191.4 kB / 0.9545 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.00365, allocations: 4 kB / 0.9545 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003651, allocations: 0 / 0.9545 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003655, allocations: 0 / 0.9545 GB, free: 15.02 MB / 0.8698 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.0004461/0.004101, allocations: 321.8 kB / 0.9548 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.004136, allocations: 12.03 kB / 0.9548 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.004174, allocations: 8.891 kB / 0.9548 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.75e-05/0.004252, allocations: 113.7 kB / 0.9549 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.004277, allocations: 8.375 kB / 0.9549 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.004296, allocations: 4.375 kB / 0.9549 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.004475, allocations: 137.6 kB / 0.9551 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.004487, allocations: 4.188 kB / 0.9551 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.004498, allocations: 4.375 kB / 0.9551 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.004503, allocations: 384 / 0.9551 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.004624, allocations: 51.89 kB / 0.9551 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.004981, allocations: 252.5 kB / 0.9554 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.005144, allocations: 90.47 kB / 0.9555 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.0052, allocations: 28.78 kB / 0.9555 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.005219, allocations: 0 / 0.9555 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.005243, allocations: 38.55 kB / 0.9555 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.005244, allocations: 0 / 0.9555 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0009498/0.006194, allocations: 0.5036 MB / 0.956 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.006223, allocations: 55.39 kB / 0.9561 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.87e-05/0.006271, allocations: 93.86 kB / 0.9562 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.006285, allocations: 33.7 kB / 0.9562 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.006325, allocations: 96.02 kB / 0.9563 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.006353, allocations: 39.66 kB / 0.9563 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.006391, allocations: 33.7 kB / 0.9564 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.006461, allocations: 314.8 kB / 0.9567 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.006526, allocations: 47.84 kB / 0.9567 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.006587, allocations: 33.22 kB / 0.9567 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.006708, allocations: 66.22 kB / 0.9568 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00671, allocations: 3.984 kB / 0.9568 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001646/0.006875, allocations: 117.8 kB / 0.9569 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.006885, allocations: 4 kB / 0.9569 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00689, allocations: 4 kB / 0.9569 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.006902, allocations: 0 / 0.9569 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.006986, allocations: 27.92 kB / 0.9569 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.006992, allocations: 7.984 kB / 0.957 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.00702, allocations: 4 kB / 0.957 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.007028, allocations: 7.984 kB / 0.957 GB, free: 12.26 MB / 0.8698 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.565e-05/0.007084, allocations: 117.8 kB / 0.9571 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.007099, allocations: 8.047 kB / 0.9571 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.007307, allocations: 137.6 kB / 0.9572 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.00731, allocations: 4 kB / 0.9572 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.007314, allocations: 0 / 0.9572 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.007318, allocations: 3.984 kB / 0.9572 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.007624, allocations: 318.2 kB / 0.9575 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007625, allocations: 0 / 0.9575 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.007701, allocations: 31.91 kB / 0.9576 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.007704, allocations: 0 / 0.9576 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.007712, allocations: 4 kB / 0.9576 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007713, allocations: 4 kB / 0.9576 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.007714, allocations: 0 / 0.9576 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.008052, allocations: 251.3 kB / 0.9578 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.008061, allocations: 7.984 kB / 0.9578 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.008072, allocations: 0 / 0.9578 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.008129, allocations: 11.98 kB / 0.9578 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.008147, allocations: 11.98 kB / 0.9578 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.008153, allocations: 4 kB / 0.9578 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.469e-05/0.008177, allocations: 83.34 kB / 0.9579 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.008177, allocations: 4 kB / 0.9579 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001768/0.008354, allocations: 43.8 kB / 0.958 GB, free: 11.16 MB / 0.8698 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.0001481/0.008502, allocations: 135 kB / 0.9581 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.008684, allocations: 86.38 kB / 0.9582 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.008685, allocations: 0 / 0.9582 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.008747, allocations: 39.92 kB / 0.9582 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.00893, allocations: 12 kB / 0.9582 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.009338, allocations: 287.4 kB / 0.9585 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.657e-05/0.009385, allocations: 79.27 kB / 0.9586 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.009413, allocations: 20.5 kB / 0.9586 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/0.009413, allocations: 0 / 0.9586 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of Templates: time 0.002025/0.01144, allocations: 1.355 MB / 0.9599 GB, free: 9.113 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.20098564773798] Failed to read output from testmodel.py, exit status != 0: 0.015530800446867943 0.02494182 0.019182713 Calling exit ...