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.000944/0.000944, allocations: 80.94 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.000999/0.000999, allocations: 173 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.9568/0.9568, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.001709/0.001709, allocations: 241.4 kB / 260.5 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 0.6834/0.6834, allocations: 138.4 MB / 402.2 MB, free: 0.5469 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.743e-06/1.743e-06, allocations: 0.6562 kB / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.33e-05, allocations: 2.312 kB / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002409/0.002432, allocations: 1.331 MB / 463.6 MB, free: 44 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008848/0.003317, allocations: 0.5913 MB / 464.2 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.003341, allocations: 1.938 kB / 464.2 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.003357, allocations: 0.7031 kB / 464.2 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.88e-05/0.003396, allocations: 7.375 kB / 464.2 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.003985, allocations: 149.4 kB / 464.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.938e-05/0.004044, allocations: 31.58 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.00408, allocations: 7 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.004121, allocations: 20.88 kB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/0.004177, allocations: 7.391 kB / 464.5 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.00419, allocations: 2.594 kB / 464.5 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.004536, allocations: 272.4 kB / 464.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.004553, allocations: 3.656 kB / 464.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.004573, allocations: 14.25 kB / 464.7 MB, free: 15.51 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.004807, allocations: 165.6 kB / 464.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.00481, allocations: 4.938 kB / 464.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004811, allocations: 0.5625 kB / 464.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004815, allocations: 0.5625 kB / 464.9 MB, free: 15.45 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.0003096/0.005124, allocations: 278.1 kB / 465.2 MB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.005158, allocations: 9.562 kB / 465.2 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.005185, allocations: 11.73 kB / 465.2 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.392e-05/0.005259, allocations: 104.9 kB / 465.3 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.005268, allocations: 3.5 kB / 465.3 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.005292, allocations: 11.72 kB / 465.3 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.38e-05/0.005386, allocations: 93.62 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.005395, allocations: 1.594 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.005403, allocations: 5.719 kB / 465.4 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005409, allocations: 2.375 kB / 465.4 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.005434, allocations: 13.42 kB / 465.4 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.028e-05/0.005524, allocations: 70.69 kB / 465.5 MB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.92e-05/0.005603, allocations: 43.72 kB / 465.5 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.005626, allocations: 22.05 kB / 465.6 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.005643, allocations: 4.312 kB / 465.6 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.005664, allocations: 36.5 kB / 465.6 MB, free: 14.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.005665, allocations: 1.062 kB / 465.6 MB, free: 14.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008291/0.006494, allocations: 445.1 kB / 466 MB, free: 14.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.00652, allocations: 52.72 kB / 466.1 MB, free: 14.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.758e-05/0.006568, allocations: 103.5 kB / 466.2 MB, free: 14.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.006579, allocations: 32.92 kB / 466.2 MB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.063e-05/0.0066, allocations: 81.33 kB / 466.3 MB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.006634, allocations: 42.62 kB / 466.3 MB, free: 14.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.006669, allocations: 31.42 kB / 466.4 MB, free: 14.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.006739, allocations: 314.8 kB / 466.7 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.006754, allocations: 10.48 kB / 466.7 MB, free: 13.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.00677, allocations: 11.42 kB / 466.7 MB, free: 13.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.006821, allocations: 43.34 kB / 466.7 MB, free: 13.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006822, allocations: 1.875 kB / 466.7 MB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.482e-05/0.006907, allocations: 71.73 kB / 466.8 MB, free: 13.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.006918, allocations: 5.688 kB / 466.8 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.006921, allocations: 0.7031 kB / 466.8 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.006932, allocations: 2.156 kB / 466.8 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.007001, allocations: 19.88 kB / 466.8 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.007006, allocations: 6.062 kB / 466.9 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.007019, allocations: 0.9375 kB / 466.9 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.007026, allocations: 5.984 kB / 466.9 MB, free: 13.77 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 5.555e-05/0.007082, allocations: 114.2 kB / 467 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.007095, allocations: 9.297 kB / 467 MB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.007197, allocations: 79.11 kB / 467.1 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.0072, allocations: 2.219 kB / 467.1 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007201, allocations: 1.406 kB / 467.1 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.007205, allocations: 6.078 kB / 467.1 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.007409, allocations: 226.7 kB / 467.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00741, allocations: 0 / 467.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.007474, allocations: 22.08 kB / 467.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007476, allocations: 1.156 kB / 467.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.007483, allocations: 5.766 kB / 467.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007484, allocations: 1.188 kB / 467.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.007487, allocations: 5.75 kB / 467.3 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.007615, allocations: 189.8 kB / 467.5 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-06/0.007622, allocations: 5.031 kB / 467.5 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.00763, allocations: 0.9844 kB / 467.5 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.007678, allocations: 0 / 467.5 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.007697, allocations: 16.08 kB / 467.5 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.007702, allocations: 0.6094 kB / 467.5 MB, free: 13.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.067e-05/0.007713, allocations: 10.12 kB / 467.5 MB, free: 13.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007713, allocations: 4.469 kB / 467.5 MB, free: 13.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.007891, allocations: 39.06 kB / 467.6 MB, free: 13.16 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.0001454/0.008036, allocations: 114.8 kB / 467.7 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.514e-05/0.008111, allocations: 50.92 kB / 467.7 MB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.008114, allocations: 1.031 kB / 467.7 MB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.452e-05/0.008139, allocations: 32.09 kB / 467.8 MB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.008241, allocations: 5.734 kB / 467.8 MB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.008699, allocations: 234.3 kB / 468 MB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.008736, allocations: 62.36 kB / 468.1 MB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.966e-05/0.008765, allocations: 7.203 kB / 468.1 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.008815, allocations: 65.34 kB / 468.1 MB, free: 12.61 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.008816, allocations: 0.7812 kB / 468.1 MB, free: 12.61 MB / 426.7 MB Notification: Performance of Templates: time 0.002708/0.01152, allocations: 1.078 MB / 469.2 MB, free: 11.67 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3622662080451846]