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.000997/0.000997, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001057/0.001057, allocations: 169 kB / 23.02 MB, free: 1.547 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.9413/0.9413, allocations: 177.2 MB / 203.4 MB, free: 5.621 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.001677/0.001677, allocations: 242.1 kB / 260.2 MB, free: 12.81 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.7039/0.7039, allocations: 138.4 MB / 455.2 MB, free: 1.512 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 1.513e-06/1.513e-06, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.028e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002224/0.002244, allocations: 1.332 MB / 0.5564 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009683/0.003213, allocations: 0.5915 MB / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.003243, allocations: 0 / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.003269, allocations: 3.938 kB / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.003313, allocations: 0 / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.003959, allocations: 151.2 kB / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.723e-05/0.004036, allocations: 31.86 kB / 0.5572 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.004079, allocations: 7.969 kB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.594e-05/0.004125, allocations: 15.98 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.004185, allocations: 8 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.004203, allocations: 4 kB / 0.5572 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004392/0.004643, allocations: 275.3 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.004664, allocations: 4 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.004691, allocations: 15.92 kB / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.004963, allocations: 163.4 kB / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.004967, allocations: 4 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004968, allocations: 0 / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.004972, allocations: 0 / 0.5577 GB, free: 13.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004137/0.005386, allocations: 392.3 kB / 0.558 GB, free: 13.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.005431, allocations: 12.75 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.005482, allocations: 8.938 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.005588, allocations: 120.5 kB / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.005603, allocations: 4.375 kB / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.005637, allocations: 12.27 kB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.005783, allocations: 93.66 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.005794, allocations: 192 / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.005806, allocations: 4.375 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.005817, allocations: 4.375 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.005859, allocations: 15.92 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.00602, allocations: 128.6 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.006134, allocations: 58.98 kB / 0.5585 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.006178, allocations: 27.67 kB / 0.5585 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.006197, allocations: 4 kB / 0.5585 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.006225, allocations: 37.39 kB / 0.5585 GB, free: 12.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.006226, allocations: 0 / 0.5585 GB, free: 12.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001032/0.007258, allocations: 452.7 kB / 0.559 GB, free: 12.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.007299, allocations: 55.41 kB / 0.559 GB, free: 12.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.007402, allocations: 153.9 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.00742, allocations: 29.7 kB / 0.5592 GB, free: 12.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.007467, allocations: 126.9 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.007514, allocations: 39.67 kB / 0.5594 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.007573, allocations: 39.36 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.007726, allocations: 496.1 kB / 0.5599 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.00777, allocations: 19.92 kB / 0.5599 GB, free: 11.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.007806, allocations: 15.88 kB / 0.5599 GB, free: 11.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.073e-05/0.007897, allocations: 55.61 kB / 0.56 GB, free: 11.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.007898, allocations: 128 / 0.56 GB, free: 11.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001453/0.008043, allocations: 89.64 kB / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.008057, allocations: 4 kB / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.008064, allocations: 4 kB / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.008081, allocations: 3.938 kB / 0.56 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.008191, allocations: 27.92 kB / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.008196, allocations: 0 / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.008218, allocations: 4 kB / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.008226, allocations: 0 / 0.5601 GB, free: 11.14 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 8.685e-05/0.008313, allocations: 164.6 kB / 0.5602 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.008331, allocations: 12 kB / 0.5602 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.008506, allocations: 101.7 kB / 0.5603 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.008509, allocations: 3.938 kB / 0.5603 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.008514, allocations: 8 kB / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.008517, allocations: 0 / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.008874, allocations: 333.4 kB / 0.5607 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.008875, allocations: 0 / 0.5607 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.008975, allocations: 27.92 kB / 0.5607 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.008979, allocations: 3.938 kB / 0.5607 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.008989, allocations: 0 / 0.5607 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.008991, allocations: 0 / 0.5607 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.008994, allocations: 8 kB / 0.5607 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.009243, allocations: 251.8 kB / 0.561 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.009252, allocations: 4 kB / 0.561 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.009269, allocations: 3.938 kB / 0.561 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.009342, allocations: 7.984 kB / 0.561 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.009366, allocations: 4 kB / 0.561 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.009375, allocations: 7.984 kB / 0.561 GB, free: 10.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.996e-05/0.009425, allocations: 123.2 kB / 0.5611 GB, free: 10.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009425, allocations: 0 / 0.5611 GB, free: 10.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003262/0.009751, allocations: 35.88 kB / 0.5611 GB, free: 9.988 MB / 490.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.0001999/0.009951, allocations: 139.1 kB / 0.5613 GB, free: 9.844 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.01009, allocations: 63.59 kB / 0.5613 GB, free: 9.777 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.0101, allocations: 0 / 0.5613 GB, free: 9.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.01014, allocations: 39.61 kB / 0.5614 GB, free: 9.734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.0104, allocations: 4 kB / 0.5614 GB, free: 9.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.01111, allocations: 253.8 kB / 0.5616 GB, free: 9.453 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.01115, allocations: 59.34 kB / 0.5617 GB, free: 9.375 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.0112, allocations: 12.03 kB / 0.5617 GB, free: 9.363 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.01123, allocations: 12.5 kB / 0.5617 GB, free: 9.352 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01123, allocations: 0 / 0.5617 GB, free: 9.352 MB / 490.7 MB Notification: Performance of Templates: time 0.003172/0.0144, allocations: 1.05 MB / 0.5627 GB, free: 8.348 MB / 490.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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6163026792928576]