Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.00155/0.00155, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001743/0.001743, allocations: 221.3 kB / 23 MB, free: 4.91 MB / 14.72 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 1.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.182/3.182, allocations: 0.4892 GB / 0.7951 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 68.34 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.357, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002463/0.3595, allocations: 1.297 MB / 1.328 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3606, allocations: 0.5414 MB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.3606, allocations: 0 / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.3606, allocations: 0 / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.019e-05/0.3607, allocations: 19.91 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.3613, allocations: 139.4 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.3614, allocations: 15.94 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.3614, allocations: 11.98 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.3615, allocations: 4 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.3615, allocations: 15.92 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3615, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004558/0.362, allocations: 263.5 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.362, allocations: 7.984 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.362, allocations: 15.94 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.3623, allocations: 131.5 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3623, allocations: 4 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3623, allocations: 0 / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3623, allocations: 0 / 1.329 GB, free: 15.45 MB / 1.029 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.0004644/0.3628, allocations: 286 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3628, allocations: 12.03 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.3628, allocations: 0.9375 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.363, allocations: 110.5 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.363, allocations: 4.312 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.363, allocations: 4.375 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3631, allocations: 71.94 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3632, allocations: 192 / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3632, allocations: 3.938 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3632, allocations: 0 / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.264e-05/0.3632, allocations: 15.98 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.3634, allocations: 105.3 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.3636, allocations: 46.48 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.3636, allocations: 20.94 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3636, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.3637, allocations: 42.56 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3637, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000624/0.3643, allocations: 233.1 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3643, allocations: 55.41 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.3644, allocations: 101.8 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.3644, allocations: 25.7 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.3645, allocations: 80.14 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.3645, allocations: 27.78 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.3646, allocations: 17.72 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3647, allocations: 310.8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.3647, allocations: 19.98 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/0.3648, allocations: 15.94 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.995e-05/0.3648, allocations: 28.86 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3648, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001173/0.3649, allocations: 61.69 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.365, allocations: 8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.365, allocations: 3.938 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.365, allocations: 64 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.3651, allocations: 15.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3651, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.3651, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.3651, allocations: 7.938 kB / 1.33 GB, free: 13.54 MB / 1.029 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 8.238e-05/0.3652, allocations: 114.4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.3652, allocations: 3.953 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.3653, allocations: 77.67 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3653, allocations: 0.5156 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3653, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3653, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.3657, allocations: 259.1 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3657, allocations: 3.938 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/0.3657, allocations: 19.95 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3657, allocations: 7.984 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.3657, allocations: 4 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3657, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3657, allocations: 7.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.3659, allocations: 168.4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.366, allocations: 15.91 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.366, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.3661, allocations: 7.938 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.3661, allocations: 3.984 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.3661, allocations: 8.188 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.3661, allocations: 83.34 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3661, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000244/0.3664, allocations: 15.94 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002014/0.3666, allocations: 127 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.3667, allocations: 31.98 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3667, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.3667, allocations: 23.92 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.3669, allocations: 9.969 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.3674, allocations: 222.3 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.086e-05/0.3675, allocations: 63.34 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.3675, allocations: 11.44 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3675, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of Templates: time 0.002651/0.3701, allocations: 0.8082 MB / 1.332 GB, free: 11.32 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.896659088786691] Failed to read output from testmodel.py, exit status != 0: 0.3791843862272799 0.39960845100000003 0.032985556 Calling exit ...