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.001381/0.001381, allocations: 88.72 kB / 19.44 MB, free: 356 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.001579/0.001579, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.446/1.446, allocations: 177.1 MB / 203.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 178] 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.002618/0.002618, allocations: 234 kB / 259.8 MB, free: 12.71 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 1.059/1.059, allocations: 138.5 MB / 454.7 MB, free: 1.48 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_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.734e-06/1.734e-06, allocations: 0 / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.944e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003185/0.003214, allocations: 1.467 MB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004435, allocations: 0.5604 MB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.004474, allocations: 0 / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.004506, allocations: 7.938 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.004568, allocations: 11.86 kB / 0.5563 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.005282, allocations: 159.2 kB / 0.5565 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.005395, allocations: 55.78 kB / 0.5565 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.005432, allocations: 0 / 0.5565 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.52e-05/0.005527, allocations: 35.95 kB / 0.5566 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.005581, allocations: 23.91 kB / 0.5566 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.0056, allocations: 8 kB / 0.5566 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005244/0.006124, allocations: 271.4 kB / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.006157, allocations: 8 kB / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.006203, allocations: 23.91 kB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.006597, allocations: 187.3 kB / 0.5571 GB, free: 14.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.006601, allocations: 0 / 0.5571 GB, free: 14.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.006602, allocations: 0 / 0.5571 GB, free: 14.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.006608, allocations: 0 / 0.5571 GB, free: 14.02 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.0007173/0.007325, allocations: 329.8 kB / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.007365, allocations: 8.75 kB / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.007428, allocations: 12.94 kB / 0.5574 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.007576, allocations: 113.7 kB / 0.5575 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.007608, allocations: 4.375 kB / 0.5575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.007651, allocations: 16.31 kB / 0.5575 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.007984, allocations: 129.6 kB / 0.5577 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.007998, allocations: 192 / 0.5577 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.008011, allocations: 384 / 0.5577 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.008019, allocations: 4.375 kB / 0.5577 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.008287, allocations: 55.89 kB / 0.5577 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.008892, allocations: 264.3 kB / 0.558 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.009213, allocations: 74.53 kB / 0.558 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.009347, allocations: 32.78 kB / 0.5581 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.00937, allocations: 0 / 0.5581 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.009415, allocations: 42.55 kB / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.009416, allocations: 4 kB / 0.5581 GB, free: 12.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001864/0.01128, allocations: 0.4996 MB / 0.5586 GB, free: 12.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.01133, allocations: 51.41 kB / 0.5587 GB, free: 12.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.01144, allocations: 105.8 kB / 0.5588 GB, free: 12.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.01146, allocations: 29.7 kB / 0.5588 GB, free: 12.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.01153, allocations: 92.03 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.0116, allocations: 43.64 kB / 0.5589 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.01165, allocations: 25.72 kB / 0.5589 GB, free: 11.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004281/0.01208, allocations: 322.8 kB / 0.5593 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.01223, allocations: 31.98 kB / 0.5593 GB, free: 11.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.01237, allocations: 31.97 kB / 0.5593 GB, free: 11.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.01266, allocations: 75.83 kB / 0.5594 GB, free: 11.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.01266, allocations: 8 kB / 0.5594 GB, free: 11.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003783/0.01304, allocations: 121.7 kB / 0.5595 GB, free: 11.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.01306, allocations: 8 kB / 0.5595 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01306, allocations: 0 / 0.5595 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.01308, allocations: 0 / 0.5595 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.01325, allocations: 23.98 kB / 0.5595 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.01326, allocations: 3.984 kB / 0.5595 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.01333, allocations: 8 kB / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.01334, allocations: 4 kB / 0.5596 GB, free: 11.25 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 0.0001205/0.01346, allocations: 125.7 kB / 0.5597 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.01351, allocations: 8 kB / 0.5597 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.01395, allocations: 133.7 kB / 0.5598 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01396, allocations: 0 / 0.5598 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.01397, allocations: 0 / 0.5598 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01397, allocations: 0 / 0.5598 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/0.01467, allocations: 330 kB / 0.5601 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01468, allocations: 4 kB / 0.5601 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.01484, allocations: 23.98 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.01485, allocations: 4 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.01486, allocations: 4 kB / 0.5602 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01486, allocations: 0 / 0.5602 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.01487, allocations: 3.984 kB / 0.5602 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/0.0155, allocations: 255.6 kB / 0.5604 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.01552, allocations: 11.97 kB / 0.5604 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.01554, allocations: 64 / 0.5604 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.01566, allocations: 8 kB / 0.5604 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.01569, allocations: 11.98 kB / 0.5604 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.0157, allocations: 4 kB / 0.5604 GB, free: 10.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.564e-05/0.01577, allocations: 87.2 kB / 0.5605 GB, free: 10.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01577, allocations: 0 / 0.5605 GB, free: 10.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003224/0.01609, allocations: 39.81 kB / 0.5606 GB, free: 10.15 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.0003165/0.01641, allocations: 139.4 kB / 0.5607 GB, free: 10.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.01678, allocations: 79.89 kB / 0.5608 GB, free: 9.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01679, allocations: 0 / 0.5608 GB, free: 9.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.01695, allocations: 47.91 kB / 0.5608 GB, free: 9.883 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.01732, allocations: 8 kB / 0.5608 GB, free: 9.875 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/0.01807, allocations: 264.9 kB / 0.5611 GB, free: 9.582 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.429e-05/0.01817, allocations: 87.45 kB / 0.5612 GB, free: 9.477 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.912e-05/0.01823, allocations: 16.72 kB / 0.5612 GB, free: 9.461 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.01828, allocations: 16.5 kB / 0.5612 GB, free: 9.445 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01828, allocations: 0 / 0.5612 GB, free: 9.445 MB / 490.7 MB Notification: Performance of Templates: time 0.004856/0.02314, allocations: 1.162 MB / 0.5623 GB, free: 8.348 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.499819408985786]