Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001042/0.001042, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00159/0.00159, allocations: 173 kB / 23.49 MB, free: 1.055 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.9541/0.9541, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002535/0.002535, allocations: 233.6 kB / 260.5 MB, free: 12.89 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8309/0.8309, allocations: 138.4 MB / 455.4 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.555 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.173e-05, allocations: 6.25 kB / 0.555 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003402/0.003433, allocations: 1.51 MB / 0.5565 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.004737, allocations: 0.5993 MB / 0.5571 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.004788, allocations: 4 kB / 0.5571 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.085e-05/0.004829, allocations: 7.922 kB / 0.5571 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.004891, allocations: 7.922 kB / 0.5571 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000727/0.005618, allocations: 159.2 kB / 0.5573 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.005732, allocations: 51.84 kB / 0.5573 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.528e-05/0.005807, allocations: 3.984 kB / 0.5573 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.005898, allocations: 35.91 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.00594, allocations: 23.97 kB / 0.5574 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.005957, allocations: 4 kB / 0.5574 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.006262, allocations: 275.4 kB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.006287, allocations: 19.91 kB / 0.5576 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.006313, allocations: 12 kB / 0.5577 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.006545, allocations: 179.4 kB / 0.5578 GB, free: 13.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.006548, allocations: 0 / 0.5578 GB, free: 13.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.006549, allocations: 0 / 0.5578 GB, free: 13.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.006554, allocations: 0 / 0.5578 GB, free: 13.6 MB / 490.7 MB 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.0004739/0.007028, allocations: 424.1 kB / 0.5582 GB, free: 13.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.007072, allocations: 13.94 kB / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.007124, allocations: 16.89 kB / 0.5583 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.007223, allocations: 116.5 kB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.007254, allocations: 12.38 kB / 0.5584 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.007281, allocations: 12.33 kB / 0.5584 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.007477, allocations: 130.3 kB / 0.5585 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.007489, allocations: 192 / 0.5585 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.007501, allocations: 4.375 kB / 0.5585 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.007513, allocations: 4.375 kB / 0.5585 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.336e-05/0.007566, allocations: 23.91 kB / 0.5586 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.008009, allocations: 307.7 kB / 0.5588 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.008149, allocations: 75.03 kB / 0.5589 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.008178, allocations: 27.61 kB / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.008196, allocations: 0 / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.00822, allocations: 41.33 kB / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.008221, allocations: 0 / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.003212/0.01143, allocations: 464.7 kB / 0.5594 GB, free: 11.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.01148, allocations: 55.39 kB / 0.5595 GB, free: 11.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.01159, allocations: 153.9 kB / 0.5596 GB, free: 11.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.01162, allocations: 33.7 kB / 0.5597 GB, free: 11.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.01168, allocations: 138.8 kB / 0.5598 GB, free: 11.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.01173, allocations: 35.7 kB / 0.5598 GB, free: 11.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.01179, allocations: 35.36 kB / 0.5599 GB, free: 11.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.01194, allocations: 0.4922 MB / 0.5603 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.803e-05/0.01199, allocations: 16 kB / 0.5604 GB, free: 10.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.01203, allocations: 15.98 kB / 0.5604 GB, free: 10.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.959e-05/0.01213, allocations: 66.98 kB / 0.5604 GB, free: 10.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01213, allocations: 0 / 0.5604 GB, free: 10.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001731/0.0123, allocations: 85.64 kB / 0.5605 GB, free: 10.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.01232, allocations: 14.75 kB / 0.5605 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.01233, allocations: 0 / 0.5605 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.01235, allocations: 0 / 0.5605 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.01249, allocations: 27.98 kB / 0.5606 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.0125, allocations: 3.984 kB / 0.5606 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.01255, allocations: 7.938 kB / 0.5606 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.01256, allocations: 4 kB / 0.5606 GB, free: 10.52 MB / 490.7 MB 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 9.63e-05/0.01266, allocations: 164.5 kB / 0.5607 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.01269, allocations: 11.95 kB / 0.5607 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.01291, allocations: 102.5 kB / 0.5608 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.01291, allocations: 0 / 0.5608 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01291, allocations: 0 / 0.5608 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.01292, allocations: 4 kB / 0.5608 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.01333, allocations: 358.2 kB / 0.5612 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.01333, allocations: 0 / 0.5612 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.01345, allocations: 23.98 kB / 0.5612 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.01346, allocations: 0 / 0.5612 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.01347, allocations: 8 kB / 0.5612 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.01348, allocations: 0 / 0.5612 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01348, allocations: 0 / 0.5612 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.01378, allocations: 273.1 kB / 0.5615 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.01379, allocations: 7.953 kB / 0.5615 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.01381, allocations: 0 / 0.5615 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.01389, allocations: 4 kB / 0.5615 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.01392, allocations: 7.984 kB / 0.5615 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.01393, allocations: 11.98 kB / 0.5615 GB, free: 9.488 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.01398, allocations: 123.2 kB / 0.5616 GB, free: 9.367 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01398, allocations: 0 / 0.5616 GB, free: 9.367 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003295/0.01431, allocations: 47.84 kB / 0.5617 GB, free: 9.32 MB / 490.7 MB 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.0002429/0.01455, allocations: 143 kB / 0.5618 GB, free: 9.172 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.01471, allocations: 59.66 kB / 0.5619 GB, free: 9.109 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01471, allocations: 0 / 0.5619 GB, free: 9.109 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-05/0.01477, allocations: 43.55 kB / 0.5619 GB, free: 9.062 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.01506, allocations: 15.98 kB / 0.5619 GB, free: 9.047 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.01589, allocations: 260.7 kB / 0.5622 GB, free: 8.762 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.071e-05/0.01594, allocations: 64.09 kB / 0.5622 GB, free: 8.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.906e-05/0.016, allocations: 16.7 kB / 0.5622 GB, free: 8.664 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.01603, allocations: 12.5 kB / 0.5623 GB, free: 8.652 MB / 490.7 MB Notification: Performance of SimCode: time 1.073e-06/0.01604, allocations: 4 kB / 0.5623 GB, free: 8.648 MB / 490.7 MB Notification: Performance of Templates: time 0.003213/0.01925, allocations: 1.164 MB / 0.5634 GB, free: 7.551 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8200718290172517]