Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009231/0.0009231, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009929/0.0009929, allocations: 181 kB / 23.36 MB, free: 1.133 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.9909/0.9909, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.001714/0.001714, allocations: 249.9 kB / 260.5 MB, free: 12.7 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.6995/0.6995, allocations: 138.4 MB / 402.2 MB, free: 0.5156 MB / 362.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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 462.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.375e-05, allocations: 5.828 kB / 462.4 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003312/0.003346, allocations: 1.378 MB / 463.7 MB, free: 0 / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.004521, allocations: 0.5835 MB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.004551, allocations: 1.062 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.004572, allocations: 4.594 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.004618, allocations: 8.203 kB / 464.3 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.005248, allocations: 150.3 kB / 464.5 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.243e-05/0.00532, allocations: 29.5 kB / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.005362, allocations: 3.562 kB / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.005414, allocations: 16.78 kB / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.005483, allocations: 16.11 kB / 464.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.005498, allocations: 1.375 kB / 464.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005323/0.006031, allocations: 273.3 kB / 464.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.00605, allocations: 7.672 kB / 464.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.006073, allocations: 9.75 kB / 464.8 MB, free: 15.47 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.006381, allocations: 173.2 kB / 465 MB, free: 15.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006384, allocations: 0 / 465 MB, free: 15.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006385, allocations: 0.5938 kB / 465 MB, free: 15.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.006389, allocations: 2.062 kB / 465 MB, free: 15.41 MB / 426.7 MB 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.0003551/0.006744, allocations: 270.6 kB / 465.3 MB, free: 15.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.006784, allocations: 11.75 kB / 465.3 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.006817, allocations: 4.922 kB / 465.3 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.329e-05/0.00691, allocations: 107.6 kB / 465.4 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.006922, allocations: 7.062 kB / 465.4 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.006945, allocations: 7.938 kB / 465.4 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.007058, allocations: 105 kB / 465.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.00707, allocations: 4.688 kB / 465.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.007078, allocations: 1.469 kB / 465.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.007083, allocations: 2.219 kB / 465.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.007115, allocations: 15.33 kB / 465.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.007231, allocations: 67.19 kB / 465.6 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.226e-05/0.007323, allocations: 49.41 kB / 465.6 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.007356, allocations: 18.03 kB / 465.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.007372, allocations: 1.688 kB / 465.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.007398, allocations: 33.12 kB / 465.7 MB, free: 14.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.007399, allocations: 0 / 465.7 MB, free: 14.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001022/0.008422, allocations: 446 kB / 466.1 MB, free: 14.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.008452, allocations: 52.97 kB / 466.2 MB, free: 14.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.008515, allocations: 103.8 kB / 466.3 MB, free: 14.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.00853, allocations: 27.02 kB / 466.3 MB, free: 14.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.008557, allocations: 87.06 kB / 466.4 MB, free: 14.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.008601, allocations: 39.17 kB / 466.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.008649, allocations: 32.41 kB / 466.5 MB, free: 14.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.008746, allocations: 320.1 kB / 466.8 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.008771, allocations: 12.72 kB / 466.8 MB, free: 13.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.008796, allocations: 16.44 kB / 466.8 MB, free: 13.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.008863, allocations: 35.72 kB / 466.8 MB, free: 13.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.008864, allocations: 0 / 466.8 MB, free: 13.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001063/0.00897, allocations: 63.34 kB / 466.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.008985, allocations: 5.906 kB / 466.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.00899, allocations: 1.188 kB / 466.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.009004, allocations: 1.125 kB / 466.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.215e-05/0.009097, allocations: 26.98 kB / 466.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.009102, allocations: 5.031 kB / 466.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.009124, allocations: 6.188 kB / 466.9 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.009131, allocations: 2.141 kB / 466.9 MB, free: 13.74 MB / 426.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 6.996e-05/0.009201, allocations: 113.5 kB / 467.1 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.009224, allocations: 7.344 kB / 467.1 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.009371, allocations: 84.72 kB / 467.1 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.009374, allocations: 0.75 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.009377, allocations: 0.7969 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.009382, allocations: 5.156 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.009659, allocations: 224.3 kB / 467.4 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009661, allocations: 0 / 467.4 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.009763, allocations: 31.91 kB / 467.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.009766, allocations: 0 / 467.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.009774, allocations: 0.5625 kB / 467.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.009777, allocations: 3.719 kB / 467.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.00978, allocations: 7.938 kB / 467.4 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.009964, allocations: 183.5 kB / 467.6 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.009971, allocations: 0.5938 kB / 467.6 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.009984, allocations: 6.125 kB / 467.6 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.01005, allocations: 4 kB / 467.6 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.01008, allocations: 11.45 kB / 467.6 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.01008, allocations: 1.266 kB / 467.6 MB, free: 13.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.494e-05/0.0101, allocations: 9.453 kB / 467.6 MB, free: 13.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0101, allocations: 4.688 kB / 467.6 MB, free: 13.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.01039, allocations: 38.12 kB / 467.7 MB, free: 13.05 MB / 426.7 MB 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.0001955/0.01058, allocations: 120.3 kB / 467.8 MB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.01069, allocations: 52.7 kB / 467.8 MB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01069, allocations: 0 / 467.8 MB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.01073, allocations: 27.38 kB / 467.9 MB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.01089, allocations: 10.86 kB / 467.9 MB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.01147, allocations: 225.2 kB / 468.1 MB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.455e-05/0.01152, allocations: 63.61 kB / 468.2 MB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.429e-05/0.01156, allocations: 10.84 kB / 468.2 MB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.01163, allocations: 64.33 kB / 468.2 MB, free: 12.49 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01163, allocations: 0 / 468.2 MB, free: 12.49 MB / 426.7 MB Notification: Performance of Templates: time 0.003217/0.01484, allocations: 1.078 MB / 469.3 MB, free: 11.54 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.419007266871631]